FAForever / website

FAForever's Website
http://www.faforever.com
MIT License
21 stars 35 forks source link

[Epic] Logger #517

Open fcaps opened 10 months ago

fcaps commented 10 months ago

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 commented 10 months ago

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