Question on '$PRIORITY' and '$LEVEL'
I have a question regarding how syslog-ng treats "priority" and "level" value from the logs. According to RFC, "priority" is different than "level". However, it appears to me that syslog-ng use "level" value for "priority" as well. My questions are: 1. Is that true that syslog-ng use "level" value for "priority" as well? 2. Is there a reason behind this behavior? 3. Is there a plan to change/fix this? Thanks.
Sorry, my bad. The $PRI is the correct macro I should use. -----Original Message----- From: Arnold Wang <arnold.wang@inovis.com> Reply-to: arnold.wang@inovis.com To: syslog-ng@lists.balabit.hu Subject: Question on '$PRIORITY' and '$LEVEL' Date: Fri, 08 May 2009 12:46:23 -0700 I have a question regarding how syslog-ng treats "priority" and "level" value from the logs. According to RFC, "priority" is different than "level". However, it appears to me that syslog-ng use "level" value for "priority" as well. My questions are: 1. Is that true that syslog-ng use "level" value for "priority" as well? 2. Is there a reason behind this behavior? 3. Is there a plan to change/fix this? Thanks.
participants (2)
-
Arnold Wang
-
okapareeya@hotmail.com