You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the server is using console.log to print out debug lines for the server which is fine for a localhost environment.
Once the server is logging hundreds of user inputs, consider using a logging library.
Commit c0109bf: Implemented a rotating + console logger.
Log files can be found in MOOgiwara/server/logs, and rotate on a daily basis.
Old log files are zipped and subsequently deleted after 14 days.
To convert existing log lines over in future commits.
Abstract
Currently, the server is using
console.log
to print out debug lines for the server which is fine for a localhost environment.Once the server is logging hundreds of user inputs, consider using a logging library.
Details
@KOOKIIEStudios suggested: moving to a logger library like winston.
The text was updated successfully, but these errors were encountered: