Enabling configuartion reloading reloads the default configuration multiple times #33

efreeti opened this Issue Oct 28, 2011 · 1 comment


None yet
3 participants

efreeti commented Oct 28, 2011

So I have custom config file log4js-config.json

"appenders": [
"type": "console",
"layout": {
"type": "basic"
"type": "file",
"filename": "log/application_server.log"

This line:

log4js.configure(__dirname + '/log4js-config.json', {
"reloadSecs": 10

Will reload my config on any change but also each 10 seconds reload the default config (overwriting my settings - basic layout instead of colorized one (btw it doesn't work on Windows so you might consider some coloring library))

danbell was assigned Oct 30, 2011


nomiddlename commented Jul 17, 2016

Closing this because it is really old, and nobody has raised the issue since.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment