REST Service for POPCORN - ILIAS
alex
7 hours ago 6138ffe99d016cc311f250bc1555b5403b8b1216
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.