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:
parent
d7dec2695f
commit
c5a6ff89bb
1 changed files with 2 additions and 2 deletions
|
@ -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).
|
||||
|
|
Loading…
Add table
Reference in a new issue