Re: [PATCH 07/10] logger: add rfc5424 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24 July 2014 10:55, Karel Zak <kzak@xxxxxxxxxx> wrote:
> On Tue, Jul 22, 2014 at 11:00:56PM +0100, Sami Kerola wrote:
>>  struct logger_ctl {
>> @@ -82,6 +85,9 @@ struct logger_ctl {
>>       int logflags;
>>       int pri;
>>       char *tag;
>> +     unsigned int    rfc5424_time:1,
>> +                     rfc5424_tq:1,
>
>  what does it mean "_tq"? It's always good idea use comments for flags
>  and struct members :-)

Thanks for review. Adding comments would indeed make the code more
understandable, I'll do that.

One of my major doubts has been is it too verbose to have the time
quality markups in messages by default? It is possible various
auditors would prefer to see time quality messages, but they are
minority. For most the time quality markups are probably strange
unnecessary looking noise. I feel it is better to be more explicit
about data by default, and allow messaging to be less verbose than
other way around. Does anyone have strong opinions, or good argument,
in behalf or against time quality markup?

>> +     fputs(_("     --rfc3164         use the BSD syslog protocol\n"), out);
>
>  "use obsolete BSD syslog protocol"
>       ^^^^^^^

Request to add 'obsolete' sounds like approval to change the default
from rfc 3164 to rfc 5424.

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux