Last active
April 17, 2020 16:52
-
-
Save luizhenriquesoares/b39655a7c084a53486cdbe9eb577983a to your computer and use it in GitHub Desktop.
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
{ | |
"appenders": { | |
"access": { | |
"type": "dateFile", | |
"filename": "log/access.log", | |
"pattern": "-yyyy-MM-dd", | |
"category": "http" | |
}, | |
"app": { | |
"type": "file", | |
"filename": "log/app.log", | |
"maxLogSize": 10485760, | |
"numBackups": 3 | |
}, | |
"errorFile": { | |
"type": "file", | |
"filename": "log/errors.log" | |
}, | |
"errors": { | |
"type": "logLevelFilter", | |
"level": "ERROR", | |
"appender": "errorFile" | |
} | |
}, | |
"categories": { | |
"default": { | |
"appenders": [ | |
"app", | |
"errors" | |
], | |
"level": "DEBUG" | |
}, | |
"http": { | |
"appenders": [ | |
"access" | |
], | |
"level": "DEBUG" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment