0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00

update logger.md (#3256)

This commit is contained in:
Morrain 2022-07-07 01:57:32 +08:00 committed by GitHub
parent d7dec2695f
commit c5a6ff89bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,14 +7,14 @@ As with any web application, Verdaccio has a customisable built-in logger. You c
```yaml
# console output
log: { type: stdout, format: pretty, level: http }
logs: { type: stdout, format: pretty, level: http }
```
or file output.
```yaml
# file output
log: { type: file, path: verdaccio.log, level: info }
logs: { type: file, path: verdaccio.log, level: info }
```
> Verdaccio 5 does not support rotation file anymore, [here more details](https://verdaccio.org/blog/2021/04/14/verdaccio-5-migration-guide#pinojs-is-the-new-logger).