pardahlman / RawRabbit

A modern .NET framework for communication over RabbitMq
MIT License
747 stars 144 forks source link

How to change the granularity of logging? #388

Open vhfm33 opened 5 years ago

vhfm33 commented 5 years ago

I need to change the default log level from info to warning (only errors and warning are logged)

pardahlman commented 5 years ago

Hi @vhfm33 - thanks for reaching out. RawRabbit uses LibLog for logging, so it depends on your underlying logger framework. Usually, you can add namespaced "filters" or sub-loggers to achieve this. All RawRabbit logging is logged from the RawRabbit namespace. Hope this help