Socket
Book a DemoInstallSign in
Socket

@ouestware/node-logger

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ouestware/node-logger

TODO

latest
Source
npmnpm
Version
0.0.1-alpha.3
Version published
Weekly downloads
5
Maintainers
3
Weekly downloads
 
Created
Source

OuestWare - Node logger

A logger package for nodejs based on winston. Each log entry is composed of a label (ex: the name of the file or the service for example) and a level.

Its configuration is done via those environment variables :

  • LOG_CONSOLE_LEVEL (default: debug): define the log level for the console
  • LOG_FILE_LEVEL (default: error): define the log level for the file
  • LOG_FILE_MAXSIZE (default: 25m): the log file max size for the rotation
  • LOG_FILE_RETENTION (default: 7d): the retention policy for log files
  • LOG_FILE_PATH (default: ./): where we store the log files
  • LOG_FILTERS (defaut: .*): regex to filter logs on their label

FAQs

Package last updated on 11 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts