Ticket #950 (assigned enhancement)

Opened 1 year ago

Last modified 3 weeks ago

Wanted: Consistent logging with useful context in different parts of munin

Reported by: ssm Assigned to: ssm (accepted)
Priority: lowest Milestone: Munin 2.1
Component: master Version: 1.4.5
Severity: minor Keywords: log
Cc:

Description

I'd like the different parts of munin to log with the same basic format. Today, it is:

2010/08/17 12:30:06 Munin-graph finished (4280.10 sec)
2010/08/17 12:32:28 [INFO] munin-html finished (2578.00 sec)
2010/08/17 12:33:51 [INFO]: Munin-update finished (229.36 sec)
2010/08/17 12:34:08 [INFO] munin-limits finished (6.71 sec)

In addition, the munin-graph log does not show which node is being graphed:

2010/08/17 06:50:48 Graphed service : jvm_log_heap_lowmark (0.33 sec * 4)
2010/08/17 06:50:48 Graphed service : df_inode (0.55 sec * 4)
2010/08/17 06:50:49 Graphed service : tomcat_avgtime (0.71 sec * 4)
2010/08/17 06:50:50 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Munin/Master/GraphOld.pm line 720.
2010/08/17 06:50:50 [PERL WARNING] Use of uninitialized value in subroutine entry at /usr/share/perl5/Munin/Master/GraphOld.pm line 757.

When tracking down potential problems, a bit of context would be helpful in the munin-graph log.

Change History

08/17/10 13:51:40 changed by ssm

  • owner changed from nobody to ssm.

I want this, I fix this...

08/17/10 13:51:48 changed by ssm

  • status changed from new to assigned.

01/17/12 11:24:14 changed by snide

  • milestone changed from Munin 1.4.7 to Munin 2.1.

Pushing to 2.1