4

I've already changed the log level for "munin-node.log" in "/etc/munin/munin-node.conf" but now that everything is working 100%, how do I change the log level of "munin-graph.log", "munin-html.log", "munin-limits.log" and "munin-update.log"?

They are all located in /var/log/munin/

Thanks

Hayden
  • 361
  • 4
  • 18

1 Answers1

0

to change the log level of munin-graph (which is running on log level INFO below version 2.0.7) you can change /usr/share/munin/munin-graph

from:

logger_open($config->{'logdir'});
logger_debug() if $config->{debug} or defined($ENV{CGI_DEBUG});

to:

logger_open($config->{'logdir'});
logger_debug() if $config->{debug} or defined($ENV{CGI_DEBUG});
logger_level("warn"); 

or upgrade to a higher munin version: see http://munin-monitoring.org/ticket/1251

c33s
  • 2,612
  • 1
  • 30
  • 43
  • For "munin-update.log", there is a similar "/usr/share/munin/munin-update" file for which the same solution applies. However, it doesn't work with munin-html.log" and "munin-limits.log". – W3Coder Aug 21 '18 at 11:10