0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00
verdaccio/website/translated_docs/es-ES/logger.md

1.7 KiB

id title
logger Registrador

Como cualquier aplicación web, verdaccio tiene un registrador personalizable integrado. Puedes definir varios tipos de salidas.

# console output
logs: { type: stdout, format: pretty, level: http }

or file output.

# file output
logs: { type: file, path: verdaccio.log, level: info }

Verdaccio 5 does not support rotation file anymore, here more details.

Use SIGUSR2 to notify the application, the log-file was rotated and it needs to reopen it. Note: Rotating log stream is not supported in cluster mode. See here

Configuración

Propiedad Tipo Requerido Ejemplo Soporte Descripción
tipo string No [stdout, file] todos define la salida
path string No verdaccio.log todos si el tipo es archivo, define la ubicación de ese archivo
format string No [pretty, pretty-timestamped] todos formato de salida
level string No [fatal, error, warn, http, info, debug, trace] todos nivel verboso