* Attempt to hide sensitive information by default (e.g. 'password' fields) in log

* New logger configuration - change logging: level -> logging: rotatingFile: level for current functionality
This commit is contained in:
Bryan Ashby 2016-09-04 17:46:28 -06:00
parent a729944af7
commit d4d64f925d
2 changed files with 70 additions and 49 deletions

View file

@ -292,7 +292,17 @@ function getDefaultConfig() {
},
logging : {
level : 'debug'
level : 'debug',
rotatingFile : { // set to 'disabled' or false to disable
type : 'rotating-file',
fileName : 'enigma-bbs.log',
period : '1d',
count : 3,
level : 'debug',
}
// :TODO: syslog - https://github.com/mcavage/node-bunyan-syslog
},
debug : {