Logging level rspamd to verbose

While monitoring arm-stuff got a bit annoyed with the verbose logging of rspamd in the syslogs :tired_face:

Turns out the log-level set to info :

# cat /etc/rspamd/logging.inc | grep level
level = "info";

reduced it by dropping a local (override) setting by creating the file:

/etc/rspamd/local.d/logging.inc

with this contend: (EDIT changed from warning to notice, see post below)

# cat /etc/rspamd/local.d/logging.inc

# log level possible settings:
# error         : log only critical errors
# warning       : log errors and warnings
# notice        : log only important notices
# info          : log all non-debug messages
# silent        : log at info level on start and then reduce to notice level when forking worker processes
# debug         : log all including debug messages (huge amount of logging)

level = "notice";

and restarted rspamd

And it got " o so quiet ā€¦shhā€¦ shh" :blush: ā€¦

Seriously, like it much more this way and the log-messages make more sense ! Iā€™d like to see a lower log-level by defaultā€¦

Reference:

Those are important notices. Iā€™m afraid we canā€™t miss them :slightly_smiling_face:

ā€œnoticeā€ is still lower (=better) then ā€œinfoā€. :wink: