-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make some log lines report at DEBUG level #1168
Conversation
5c85b12
to
72d6897
Compare
Reminder to myself that "Server doesn't mirror parts" should not be logged for each room. |
Also log eventIds, not messages. |
req.log.info("onPrivateMessage: %s from=%s to=%s action=%s", | ||
server.domain, fromUser, toUser, | ||
JSON.stringify(action).substring(0, 80) | ||
req.log.info("onPrivateMessage: %s from=%s to=%s", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reasoning to keep these on info?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's still really useful to keep track of when people perform actions, the info level just strips away the message data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Fixes #1167