website icon indicating copy to clipboard operation
website copied to clipboard

[Epic] Logger

Open fcaps opened this issue 2 years ago • 1 comments

we need some solution to view the nodejs-log and somehow structure it. What i mean is:

  1. the developer/maintainer should be able to view logs for production
  2. the logs need to be filterable (show only criticals, etc)
  3. having a standard structure (severity, stack, message, scope/module etc.)
  4. a solution that is good for production and development

most of the loggers going for a json format and options for multiple "backends", like file, mongoDB, stdout/err.

First we should identify what options we have on production -> maybe something like greylog... Beware: sensitive data should not be logged (emails etc.), but don't know how we should handle it right now.

fcaps avatar Dec 03 '23 11:12 fcaps

a list of common loggers https://www.highlight.io/blog/nodejs-logging-libraries

fcaps avatar Dec 03 '23 11:12 fcaps