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
To make events more useful, IP should be logged for the majority of these. Ideally, it would be any event directly associated with a user/socket/request.
The text was updated successfully, but these errors were encountered:
@barisusaklievents.js seems to be an abstraction lib exposing user-friendly methods to print to file, but should we save the audit log to the database instead?
Possibly an unnecessary complication, but it might be easier to do events.log(req, socket, comment, callback) instead, and pass in either req or socket, and have the lib tease out the relevant information...
https://github.com/NodeBB/NodeBB/blob/master/src/events.js
To make events more useful, IP should be logged for the majority of these. Ideally, it would be any event directly associated with a user/socket/request.
The text was updated successfully, but these errors were encountered: