Bug 789925 - Logfile format needs tweaking
Summary: Logfile format needs tweaking
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: corosync
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Angus Salkeld
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-13 09:58 UTC by Andrew Beekhof
Modified: 2012-06-17 23:29 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-17 23:29:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew Beekhof 2012-02-13 09:58:42 UTC
Description of problem:


Corosync logs contain messages like so:

Feb 13 08:25:51 notice  [MAIN  ] Corosync Cluster Engine exiting normally
Feb 13 08:32:10 notice  [TOTEM ] Initializing transport (UDP/IP Multicast).

It would be useful to:
- include the pid file so we can differentiate between different instances of corosync
- include the host name so that CTS can look for node-specific patterns
- include the process name if possible.  this makes post-filtering easier as it is useful to have pacemaker log to the same file.
  
Actual results:

Feb 13 08:25:51 notice  [MAIN  ] Corosync Cluster Engine exiting normally

Expected results:

Something like syslog or perhaps:

Feb 13 08:25:51 [22196] pcmk-3 corosync notice  [MAIN  ] Corosync Cluster Engine exiting normally


Additional info:


Note You need to log in before you can comment on or make changes to this bug.