| | |
| | | |
| | | ### 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. |