On 16 Mar 2007, at 07:53, Michael G Schwern wrote:
[snip]
I don't know if we need all 8 levels used in syslog. I'm not sure where the distinction comes between "Emergency", "Alert", "Critical" and "Error" when it comes to testing. But its a good start. Some undefined levels we can define
later seems like a good idea, leaves some wiggle room in the protocol.

http://tools.ietf.org/html/rfc3164

        Numerical         Severity
          Code

           0       Emergency: system is unusable
           1       Alert: action must be taken immediately
           2       Critical: critical conditions
           3       Error: error conditions
           4       Warning: warning conditions
           5       Notice: normal but significant condition
           6       Informational: informational messages
           7       Debug: debug-level messages

We would, of course, invert the numerics.

Granted, syslog is pretty old technology. Anyone familiar with the current
thinking on this sort of stuff?
[snip]

Maybe use the levels from Log4J, Log::Log4perl, et al?

fatal
error
warn
info
debug

?

Adrian

Reply via email to