Tk Library Source Code

View Ticket
Login
Ticket UUID: 1599978
Title: RFE: add emergency and alert levels to logger
Type: RFE Version: None
Submitter: hemanglavana Created on: 2006-11-20 21:21:32
Subsystem: log Assigned To: mic42
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-02-09 05:11:04
Resolution: Closed By: mic42
    Closed on: 2007-02-08 22:11:04
Description:
Hi,

The syslog protocol supports the following levels of severity (copied from http://tools.ietf.org/html/rfc3164#section-4.1.1):

---------------------
        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

           Table 2. syslog Message Severities
---------------------

The "emergency" and "alert" levels are currently missing from tcllib's logger package. These should be added to make it consistent with syslog protocol.
User Comments: mic42 added on 2007-02-09 05:11:04:
Logged In: YES 
user_id=302287
Originator: NO

Accepted the patch.

hemanglavana added on 2007-02-05 00:02:29:

File Added - 214446: logger.diffs

Logged In: YES 
user_id=81875
Originator: YES

File Added: logger.diffs

mic42 added on 2006-11-22 01:45:31:
Logged In: YES 
user_id=302287
Originator: NO

Not only with syslog, also with Andreas log package.

I'll consider it. Its quite easy to do.

Attachments: