+ added command-line option to change the log level

This commit is contained in:
nicobo 2021-06-11 00:36:29 +02:00 committed by GitHub
parent 1eab2bb32c
commit 2f351a9daf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,9 @@ Deploy on a swarm cluster :
## Logging and debugging
Logging is configured in the [`logging.js`](logging.js) module : feel free to override it locally or in a custom Docker image.
There is an option `-l` to change the default logging level ; the most useful option might be `-l debug`.
Otherwise, logging is set up in the [`logging.js`](logging.js) module : feel free to override it locally or in your custom Docker image.
There is a special `scripts/debug.js` script that does nothing but printing debug informations. It is simply loaded as a scenario (you need to set log level to *debug* at least) :