logagent-js
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -26,3 +26,5 @@ /* | ||
this.cfg = yaml.load(fs.readFileSync(name, 'utf8')) | ||
console.log('Hashing field content enabled for field names: ' + this.cfg.autohash) | ||
if (this.cfg.autohash) { | ||
console.log('Hashing field content enabled for field names: ' + this.cfg.autohash) | ||
} | ||
// console.log(this.cfg) | ||
@@ -29,0 +31,0 @@ this.patterns = this.cfg.patterns |
{ | ||
"name": "logagent-js", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Smart log parser written in Node", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -42,5 +42,5 @@ # logagent-js | ||
``` | ||
# Sensitive data can be replaced with a hascode (sha1) | ||
# for all fields matching this field names by a regular expression | ||
# this function is not optimized (yet) and might take 10-15% of performance | ||
# Sensitive data can be replaced with a hashcode (sha1) | ||
# it applies to fields matching the field names by a regular expression | ||
# Note: this function is not optimized (yet) and might take 10-15% of performance | ||
# autohash: !!js/regexp /user|client_ip|password|email|credit_card_number|payment_info/i | ||
@@ -47,0 +47,0 @@ |
Sorry, the diff of this file is not supported yet
40223
322