mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-22 02:35:56 +02:00
* 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:
parent
a729944af7
commit
d4d64f925d
2 changed files with 70 additions and 49 deletions
|
@ -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 : {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue