Skip to content

How do I disable all the connection logging that shows up for the consumers while brod is running? #586

Answered by zmstone
itsMarydan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @itsMarydan
these are supervisor progress logs which is out of brod app's control.
you can install a log filter to have them dropped: https://www.erlang.org/doc/apps/kernel/logger_chapter#filters
here is an example app env which drops progress reports

application:get_env(kernel,logger)
                                           .
{ok,[{handler,console,logger_std_h,
              #{config => ...,
                level => warning,
                filters =>
                    [{drop_progress_reports,{fun logger_filters:progress/2, stop}}],

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@itsMarydan
Comment options

Comment options

You must be logged in to vote
2 replies
@itsMarydan
Comment options

@zmstone
Comment options

Answer selected by zmstone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants