Update README.md

This commit is contained in:
Gareth Jones 2016-03-15 10:31:01 +11:00
parent 5f5673b751
commit 4488fa3464

View File

@ -90,7 +90,7 @@ configuration file (`log4js.configure('path/to/file.json')`), or a configuration
configuration file location may also be specified via the environment variable
LOG4JS_CONFIG (`export LOG4JS_CONFIG=path/to/file.json`).
An example file can be found in `test/log4js.json`. An example config file with log rolling is in `test/with-log-rolling.json`.
You can configure log4js to check for configuration file changes every 60 seconds, and if changed, reload. This allows changes to logging levels to occur without restarting the application.
You can configure log4js to check for configuration file changes at regular intervals, and if changed, reload. This allows changes to logging levels to occur without restarting the application.
To turn it on and specify a period: