Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Years of sysadmin left syslog's severity levels, as described by The BSD Syslog Protocol, clearly imprinted in my mind. You know the drill: Emergency, Alert, Critical, Error, Warning, Notice, Informational and Debug. This left traces elsewhere, such as Java's logger with its Severe, Warning, Info, Config, Fine/r/st.

While discussing it with someone under the impression Java's was a quick hack, a bad fit, and telling of the mindset, I wondered how old this actually is -- syslog's dating back to the 80s with Sendmail. A quick search reveals that REXX has Termination, Severe, Error, Warning, Informational & Response, which seems to confirm my suspicions.

I'm sure it has its origins in the real world, probably with an army o train company's procedures, and it would be interesting to hear about it, but I'd very much like to know the origin and lineage of severity levels, and the notion of filtering "up to" that comes with it, in the computer busines.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

In computing, I'm able to trace this back to about 1966 and System/360 mainframes. This antique JCL manual describes that each program returns a code, that could be further tested using COND=(,) clause to be equal/higher/lower than a given value. The informal convention of understanding the return code was:

  • 0 successfull execution
  • 4 warning
  • 8 error
  • 16 fatal error

I'm sure this convention emerged around that time. Various IBM-supplied utilities returned such codes, but right now I cannot find any manual to back this up.

Of course this convention could have been inherited from older systems, but I really have no idea about anything pre-OS/360.

Whenever I feel like learning some history I usually end up on bitsavers.org :)

share|improve this answer
    
Loving the JCL manual link thanks. :D –  Jason Tan Jun 19 '09 at 13:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.