Package: munin Version: 2.0.6-3 Severity: normal Dear Maintainer,
after upgrading to (not-yet-shipped) Debian/wheezy, /var/log/munin/munin-graph.log gets very large (1.7GB in ~20 days here). Upstream seems to have fixed this in 2.0.7 by annotating the new messages as "debug": http://munin-monitoring.org/ticket/1251 http://munin-monitoring.org/changeset/8ad5dda8f8b5f681a73a5ad3e5348ccb4cc1241d/munin Would it be possible to include this changeset in wheezy or even ship a more current version instead? Thanks, C. -- System Information: Debian Release: 7.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages munin depends on: ii adduser 3.113+nmu3 ii cron 3.0pl1-124 ii libcgi-fast-perl 5.14.2-20 ii libdate-manip-perl 6.32-1 pn libdigest-md5-perl <none> ii libfile-copy-recursive-perl 0.38-1 ii libhtml-template-perl 2.91-1 ii libio-socket-inet6-perl 2.69-2 ii liblog-log4perl-perl 1.29-1 ii librrds-perl 1.4.7-2 pn libstorable-perl <none> ii liburi-perl 1.60-1 ii munin-common 2.0.6-3 ii perl [libtime-hires-perl] 5.14.2-20 ii perl-modules 5.14.2-20 ii rrdtool 1.4.7-2 ii ttf-dejavu 2.33-3 Versions of packages munin recommends: pn munin-doc <none> ii munin-node 2.0.6-3 Versions of packages munin suggests: ii libnet-ssleay-perl 1.48-1+b1 ii lighttpd [httpd] 1.4.31-4 ii w3m [www-browser] 0.5.3-8 -- Configuration Files: /etc/logrotate.d/munin changed: /var/log/munin/munin-update.log { monthly missingok rotate 1 compress notifempty create 640 munin adm } /var/log/munin/munin-graph.log { monthly missingok rotate 1 compress notifempty create 640 munin adm } /var/log/munin/munin-html.log { monthly missingok rotate 1 compress notifempty create 640 munin adm } /var/log/munin/munin-limits.log { monthly missingok rotate 1 compress notifempty create 640 munin adm } /var/log/munin/munin-cgi-graph.log { monthly missingok rotate 1 compress notifempty #create 640 www-data adm # see http://munin-monitoring.org/ticket/1152 copytruncate } /etc/munin/munin.conf changed: includedir /etc/munin/munin-conf.d graph_period minute [localhost.localdomain] address 127.0.0.1 use_node_name yes -- no debconf information
--- /usr/share/perl5/Munin/Master/GraphOld.pm.orig 2013-03-20 07:40:12.400894502 +0100 +++ /usr/share/perl5/Munin/Master/GraphOld.pm 2013-03-20 07:41:20.966645750 +0100 @@ -1348,7 +1348,7 @@ for my $time (keys %times) { next unless ($draw{$time}); my $picfilename = get_picture_filename($service, $time); - INFO "[INFO] Looking into drawing $picfilename"; + DEBUG "[DEBUG] Looking into drawing $picfilename"; (my $picdirname = $picfilename) =~ s/\/[^\/]+$//; DEBUG "[DEBUG] Picture filename: $picfilename"; @@ -1451,7 +1451,7 @@ if (munin_get_bool($service, "graph_sums", 0)) { foreach my $time (keys %sumtimes) { my $picfilename = get_picture_filename($service, $time, 1); - INFO "Looking into drawing $picfilename"; + DEBUG "Looking into drawing $picfilename"; (my $picdirname = $picfilename) =~ s/\/[^\/]+$//; next unless ($draw{"sum" . $time}); my @rrd_sum; --- /usr/share/perl5/Munin/Master/Logger.pm.orig 2013-03-20 07:50:07.377381038 +0100 +++ /usr/share/perl5/Munin/Master/Logger.pm 2013-03-20 07:51:37.954410331 +0100 @@ -90,7 +90,7 @@ $logopened = 1; } - get_logger('')->info("Opened log file"); + get_logger('')->debug("Opened log file"); # Get perl warnings into the log files $SIG{__WARN__} = \&_warn_catcher; @@ -117,7 +117,7 @@ $logopened = 1; } - get_logger('')->info("Opened log file"); + get_logger('')->debug("Opened log file"); # Get perl warnings into the log files $SIG{__WARN__} = \&_warn_catcher; --- /usr/share/munin/munin-graph.orig 2013-03-20 07:52:54.179910413 +0100 +++ /usr/share/munin/munin-graph 2013-03-20 07:53:53.469965879 +0100 @@ -84,7 +84,7 @@ my $graph_fh = new IO::File($config->{dbdir} . "/graphs"); while (my $path = <$graph_fh>) { my $pinpoint = undef; - INFO "Request path is $path"; + DEBUG "Request path is $path"; # The full URL looks like this: # Case 1: @@ -126,7 +126,7 @@ my ($dom, $host, $serv, $scale) = $path =~ m#^/(.*)/([^/]+)/(\w+)-([\w=,]+)\.png#; ## avoid bug in vim - INFO "asked for ($dom, $host, $serv, $scale)"; + DEBUG "asked for ($dom, $host, $serv, $scale)"; if ($scale =~ /pinpoint=(\d+),(\d+)/) { $pinpoint = [ $1, $2, ]; @@ -159,11 +159,11 @@ } # Now send it: headers - INFO "X-Munin-Request: $nb_request/$nb_request_max"; + DEBUG "X-Munin-Request: $nb_request/$nb_request_max"; my $headers = get_headers_for_file($filename, $graph_ttl); foreach my $header_name (keys %$headers) { - INFO "$header_name: $headers->{$header_name}"; + DEBUG "$header_name: $headers->{$header_name}"; } # ... and graph data