Skip to content

Set log level to warn/error by default #42

@freeart

Description

@freeart

Nodejs console prints INFO statistic messages every few seconds like

2019-08-05 10:54:28.285 INFO  ConsumerStatsImpl:64 | Consumer [persistent://public/default/xxx, reader-261478, 0] , ConsumerStatsImpl (numBytesRecieved_ = 0, totalNumBytesRecieved_ = 160101, receivedMsgMap_ = {}, ackedMsgMap_ = {}, totalReceivedMsgMap_ = {[Key: Ok, Value: 292], }, totalAckedMsgMap_ = {[Key: {Result: Ok, ackType: 1}, Value: 292], })

How to mute it or set log level to WARN or ERROR?
Is it possible to set from outside (js code)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions