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

Turning off "SumoBufferFlusherThread" log messages #24

Open
aimtiaz11 opened this issue Apr 21, 2020 · 2 comments
Open

Turning off "SumoBufferFlusherThread" log messages #24

aimtiaz11 opened this issue Apr 21, 2020 · 2 comments

Comments

@aimtiaz11
Copy link

Hi,
I am seeing a large number of DEBUG messages of similar type to below which are filling up in Sumo Logic pretty much accompanying all logs getting pushed.

DEBUG 2020-04-21 13:44:18,818 [SumoBufferFlusherThread] : Tue Apr 21 13:44:18 AEST 2020 - Flushing and sending out 147 messages (0 messages left)
DEBUG 2020-04-21 13:44:18,818 [SumoBufferFlusherThread] : Sending out data

Is there a way to turn this log messages off from a setting/config in log4j2.xml?

Thanks.

@HariprasathUdayakumar
Copy link

Hi @aimtiaz11 , Were you able to find a solution for this issue? We are facing the same in MuleSoft and it would be really helpful if you can share the solution implemented?

Regards,
Hariprasath Udayakumar.

@aimtiaz11
Copy link
Author

@HariprasathUdayakumar , Only way is by adding filters to log4j to exclude those log entries.

<Filters>
        <RegexFilter regex=".*Flushing and sending out.*" onMatch="DENY" onMismatch="NEUTRAL"/>
        <RegexFilter regex="Sending out data" onMatch="DENY" onMismatch="NEUTRAL"/>
        <RegexFilter regex="Successfully sent log request to Sumo Logic" onMatch="DENY" onMismatch="NEUTRAL"/>
   </Filters>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants