[lttng-dev] [RFC] LTTng-UST loglevels

Yannick Brosseau yannick.brosseau at gmail.com
Mon Feb 13 14:16:18 EST 2012


On 2012-02-10 13:33, Mathieu Desnoyers wrote:
> * Yannick Brosseau (yannick.brosseau at gmail.com) wrote:
>>
> The set of syslog loglevels are by "priority":
>
>         TRACE_EMERG             = 0,
>         TRACE_ALERT             = 1,
>         TRACE_CRIT              = 2,
>         TRACE_ERR               = 3,
>         TRACE_WARNING           = 4,
>         TRACE_NOTICE            = 5,
>         TRACE_INFO              = 6,
>         TRACE_DEBUG             = 14,
>
> Within the "TRACE_DEBUG" subset, we find a set refined by system scope:
>
>         TRACE_DEBUG_SYSTEM      = 7,
>         TRACE_DEBUG_PROGRAM     = 8,
>         TRACE_DEBUG_PROCESS     = 9,
>         TRACE_DEBUG_MODULE      = 10,
>         TRACE_DEBUG_UNIT        = 11,
>         TRACE_DEBUG_FUNCTION    = 12,
>         TRACE_DEBUG_LINE        = 13,
>
>
I still don't understand how we should choose to use any of the
TRACE_DEBUG levels.



More information about the lttng-dev mailing list