Created
October 21, 2015 18:34
-
-
Save Zensey/2e5cbae52904bc0ed412 to your computer and use it in GitHub Desktop.
log4js how to set default logging levels for channels
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"replaceConsole": false, | |
"appenders": [ | |
{ | |
"type": "console", | |
"layout_": { | |
"type": "pattern", | |
"pattern": "%d %p %c - %m" | |
} | |
}, | |
{ | |
"type": "file", | |
"filename": "logs/__log__", | |
"maxLogSize": 2048000, | |
"backups": 30, | |
"category": "[all]" | |
} | |
], | |
"levels": { | |
"[all]": "ALL", | |
"App.SPort": "ALL", | |
"App.SQL": "OFF", | |
"App.Scheduler": "ALL" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment