sirupsen / logrus

Structured, pluggable logging for Go.
MIT License
24.76k stars 2.27k forks source link

How to change log level of all logrus loggers? #1385

Closed tkang007 closed 1 year ago

tkang007 commented 1 year ago

Hello,

I am looking for any convenient method to change all Logrus loggers's log level and log output.

Actually, 3rd party package initialize loggers while importing, and create more loggers while processing.

I cannot find any clue about logger hierarchy concepts in between loggers. (Python's root logger)

hum... looks like stupid question, but your response might be very helpful for me and other beginners.

Thanks in advance, TK

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.