Skip to content

Instantly share code, notes, and snippets.

@luizhenriquesoares
Last active April 17, 2020 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luizhenriquesoares/b39655a7c084a53486cdbe9eb577983a to your computer and use it in GitHub Desktop.
Save luizhenriquesoares/b39655a7c084a53486cdbe9eb577983a to your computer and use it in GitHub Desktop.
{
"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