Huge munin-graph log with cron graph_strategy

After upgrading to Munin 2.0.4 (from 1.4.7), I noticed that it now produces a huge munin-graph.log file and a bigger than necessary munin-html.log file. The issue exists in Munin 2.0.6 as well. /etc/munin/munin.conf is the default configuration file with a single host added.

More specifically:

munin-graph.log

Previously it would log about 36 lines per run; now it's sticking 1321 lines into the log file each time it runs.

(the above repeats 3 more times; for uptime-month.png, uptime-week.png, uptime-day.png)

The amount of log information generated is about 22.5 MiB/day with 33 plugins enabled and a total of 132 generated graph images. Rotated weekly, this goes up to ~157.5 MiB. (More plugins enabled would mean even bigger log files.)

munin-html.log

This one went from storing 4 lines of text per run to about 171. The extra lines repeat the following two warnings:

[PERL WARNING] Use of uninitialized value in string eq at /usr/share/perl5/vendor_perl/Munin/Master/HTMLConfig.pm line 461.
[PERL WARNING] Use of uninitialized value in string eq at /usr/share/perl5/vendor_perl/Munin/Master/HTMLConfig.pm line 488.

Line 461 in that file is -> if ($config->{'graph_strategy'} eq "cgi") {

Line 488 in that file is -> next if ($config->{'graph_strategy'} eq "cgi");

I guess, in both cases, it doesn't appreciate having graph_strategy commented out in munin.conf.

Not only does the log size increase vastly, but the munin_stats plugin reports incorrectly as well; Saying munin-graph takes 0.03 sec to run, as that is the last "finished" time that is in the log file.

After having this updated version running with 6 hosts totally 32 tests over 24 hours the log is already at 364MB.

Furthermore, if it's possible to call munin-graph once for each set of graphs instead of once per period (day/week/month/year), that would avoid the quadruplication of logged lines (as seen directly above). (This would bring the line count back to the same level with the 1.4.7 version I was using before.)