syslog, syslogd and levels of messages

Moderators: jhartley, MSR734, nola

syslog, syslogd and levels of messages

Post by grahamperrin » Mon Dec 17, 2012 8:38 am

Observation

For some ZEVO-related messages sent by kernel, the level seems inappropriate.

Example

A level other than 4 for a message that contains the word WARNING for an event that may have a critical effect on the ability of the user to subsequently shut down the computer:

2012-12-17 11-09-48 level 7 (seven) is not warning.png
2012-12-17 11-09-48 level 7 (seven) is not warning.png (39.29 KiB) Viewed 21 times


(For an event of that type, might level 2 be more appropriate?)

Enhancement request

Primarily: more appropriate use of message levels.

Secondarily: the wording of messages should be not contrary to its level.

Reference material

Code: Select all
Emergency     (level 0) 
Alert         (level 1) 
Critical      (level 2) 
Error         (level 3) 
Warning       (level 4) 
Notice        (level 5) 
Info          (level 6) 
Debug         (level 7) 

The string ``Panic'' is an alias for ``Emergency''.


syslog(1) Mac OS X Manual Page

syslogd(8) Mac OS X Manual Page
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 5 guests

cron