[Users] Logging levels

Daniel-Constantin Mierla daniel at voice-system.ro
Wed Jan 10 16:45:55 CET 2007


Hello,

the log level should show the importance of the message (lower value is 
higher importance). More information you will find in syslog manual page 
(man syslog) - pasting from there:

<snip>

level
       This  determines  the  importance  of  the message.  The levels 
are, in
       order of decreasing importance:

       LOG_EMERG
              system is unusable

       LOG_ALERT
              action must be taken immediately

       LOG_CRIT
              critical conditions

       LOG_ERR
              error conditions

       LOG_WARNING
              warning conditions

       LOG_NOTICE
              normal, but significant, condition

       LOG_INFO
              informational message

       LOG_DEBUG
              debug-level message
</snip>

Cheers,
Daniel

On 01/10/07 17:30, Cristian Caprar wrote:
>
> Can anyone explain the link between the debug core parameter and the 
> logging levels used in the log functions (log and xlog)?
>
> The levels start from -3 (ALERT) and go up to 5 (DEBUG), but the 
> parameter value is from 0 to 9.
>
>  
>
> Thanks,
>
> Cristian
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the sr-users mailing list