Closed lloyd closed 11 years ago
first pass is going to just be to use winston and remove all console logs. winston has pluggable backends and we have great flexibility with it, and we use it in all other identity projects.
@mostlygeek - I'm going to start with logging to console, and suppress that during test runs. Do you want any sort of file logging at the application level, or are you cool with starting with routing std{err,out} to files and managing logrotation with LOGROTATE(8)
?
currently all code is writing to console. We should introduce logging with logging levels to help diagnosis and log readability in production.