richardschneider / yappy

Yet another REST API server howling at the moon with JSON
MIT License
2 stars 0 forks source link

Logging #147

Closed richardschneider closed 8 years ago

richardschneider commented 8 years ago

Use log4js-node for logging. We already have secure audit logging which logs what is changed/added/deleted by a user; this logging is used to determine what yappy is doing and mainly intended for debugging by devops.

richardschneider commented 8 years ago

Each module, that wants to log, should have

let log = require('log4js').getLogger('xxx');

where xxx is the module name.