REST Service for POPCORN - ILIAS
alex
10 hours ago 2920ccfa508fe5e8c32905fe102758b65fb37574
README.md
@@ -232,6 +232,16 @@
### Logs
The log level is configured in `settings.$NODE_ENV.json` via `log.level`
(default `info`). The `LOG_LEVEL` environment variable overrides it, which is
handy for quiet test runs:
    LOG_LEVEL=error npm test
Valid levels: `debug`, `info`, `warn`, `error`, and `silent` (or `off`) to
disable logging entirely. Messages below the active level are neither printed
nor written to `log.log`.
To prevent logs from growing too big the file `$INSTALLDIR/log.log` should be included into a logrotation job.
Furthermore `pm2` also does some logging.