mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Update README.md
This commit is contained in:
parent
5f5673b751
commit
4488fa3464
@ -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:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user