Skip to content

Instantly share code, notes, and snippets.

Created March 1, 2011 23:13
Show Gist options
  • Save anonymous/850098 to your computer and use it in GitHub Desktop.
Save anonymous/850098 to your computer and use it in GitHub Desktop.
log4js.json example file
{
"appenders": [
{
"category": "data_agent",
"type": "file",
"level": "DEBUG",
"filename": "/opt/BWMCI/scripts/agent/log/bwmci_data_agent.log",
"maxLogSize": 4096,
"backups": 3,
"pollInterval": 15
},
{
"category": "data_agent",
"type": "logLevelFilter",
"level": "INFO",
"appender": {
"type": "console"
}
}
],
"levels": {
"data_agent": "DEBUG"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment