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
{{ message }}
This repository was archived by the owner on Dec 20, 2023. It is now read-only.
Add debug logs for scheduling flush for urgent events
There are several reports that urgent events such are doorbell events failed to make to cloud. It's possible that urgent events failed to schedule flush and later get dropped silently due to event buffer overflow. Add more logs to indicate the status of scheudling flush for urgent events to see if there's any correaltion that need to be wary about.
In addition, NCCM people reported that they only called nl::Logevent once but multiple events are logged at the same timestamp. Currently WeaveLogDetail is disabled on user build and we don't have any logs regarding the event logging on weave side. Increasing the log level of 'logevent' to WeaveLogProgess. This should be ok as it's still guarded by WEAVE_CONFIG_EVENT_LOGGING_VERBOSE_DEBUG_LOGS.
This change will
1) Add debug logs for scheduling flush for urgent events.
2) Print error message if scheduling flush failed with error (currently this error doesn't get printed or surfaced up).
3) Increase level of 'logevent' to WeaveLogProgess, guarded by WEAVE_CONFIG_EVENT_LOGGING_VERBOSE_DEBUG_LOGS
0 commit comments