-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[linux] Print log with timestamp and thread id #7299
[linux] Print log with timestamp and thread id #7299
Conversation
Most everybody actually integrating this into a system will be sending logs to syslog, which makes these timestamps redundant. Can we make these configurable? |
When putting logs to syslog, we may use log redirect connectedhomeip/src/lib/support/logging/CHIPLogging.cpp Lines 141 to 161 in 456e79c
Thus this function won't be called. |
Problem
We don't have timestamp in log, makes it hard to debug with multiple devices, we need to figure out the order of event happened.
Change overview
Add timestamp and thread id in log.
Testing