From 347e98e73f5890b34d2d4a35b2788cf6007451ea Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Sat, 16 Dec 2017 13:29:19 +0100 Subject: [PATCH] New translations logger.md (Spanish) --- website/translated_docs/es-ES/logger.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 website/translated_docs/es-ES/logger.md diff --git a/website/translated_docs/es-ES/logger.md b/website/translated_docs/es-ES/logger.md new file mode 100644 index 000000000..8da65db62 --- /dev/null +++ b/website/translated_docs/es-ES/logger.md @@ -0,0 +1,25 @@ +--- +id: logger +date: 2017-07-10T23:36:56.503Z +title: Logger +--- +As any web application, verdaccio has a customisable built-in logger. You can define multiple types of outputs. + +```yaml +logs: + # console output + - {type: stdout, format: pretty, level: http} + # file output + - {type: file, path: verdaccio.log, level: info} +``` + +Use `SIGUSR2` to notify the application, the log-file was rotated and it needs to reopen it. + +### Configuration + +| Property | Type | Required | Example | Support | Description | +| -------- | ------ | -------- | ---------------------------------------------- | ------- | ------------------------------------------------- | +| type | string | No | [stdout, file] | all | define the output | +| path | string | No | verdaccio.log | all | if type is file, define the location of that file | +| format | string | No | [pretty, pretty-timestamped] | all | output format | +| level | string | No | [fatal, error, warn, http, info, debug, trace] | all | verbose level | \ No newline at end of file