1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-21 07:29:37 +01:00

Add section "Logger" to config page (#3664)

This commit is contained in:
osher 2023-03-08 09:06:39 +02:00 committed by GitHub
parent ad151964bf
commit d0b26c1300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -300,6 +300,21 @@ notify:
> For more detailed configuration settings, please [check the source code](https://github.com/verdaccio/verdaccio/tree/master/packages/config/src/conf).
### Logger {#logger}
Two logger types are supported, you may chose only one of them:
#### console output (the default)
```
logs: { type: stdout, format: pretty, level: http }
```
#### file output
```
logs: { type: file, path: verdaccio.log, level: info }
```
For full information - see here: [Features/logger](https://verdaccio.org/docs/logger)
### Audit {#audit}
<small>Since: `verdaccio@3.0.0`</small>