Skip to content
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

Reduce log spam produced by AnnouncementManager #16651

Merged
merged 1 commit into from Oct 6, 2019

Conversation

DaveTBlake
Copy link
Member

Got fed up with CAnnouncementManager cluttering up the debug log with

DEBUG: CAnnouncementManager - Announcement: OnUpdate from xbmc
DEBUG: GOT ANNOUNCEMENT, type: 32, from xbmc, message OnUpdate

The number of entries depending on how many listeners registered, and bulked up debug of library scanning to no good use. But in case the logging was of use to some dev at a later point I have added a level of component logging for Annoucements and moved the log calls to that component.

I would like to backport too - removing log spam is useful for anyone looking at logs regualrly, low risk, and not a new feature to "sell" later to users. @ksooo what do you think?

@DaveTBlake DaveTBlake added Type: Cleanup non-breaking change which removes non-working or unmaintained functionality v19 Matrix Component: Logging labels Sep 21, 2019
@DaveTBlake DaveTBlake added this to the Matrix 19.0-alpha 1 milestone Sep 21, 2019
@DaveTBlake DaveTBlake force-pushed the LogSpamFix branch 2 times, most recently from 7ce614b to ccfb887 Compare September 21, 2019 15:12
@ksooo
Copy link
Member

ksooo commented Sep 23, 2019

@ksooo what do you think?

As I said on Slack: Put into Leia whatever you want. I will refrain from commenting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport: Done Component: Logging Type: Cleanup non-breaking change which removes non-working or unmaintained functionality v19 Matrix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants