Custom structured data from logger utility

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

 



Hi,

I am using version 2.20.1 logger utility to send logs to rsyslogd from
bash scripts. I want to send logs in RFC5424 format with custom
structured data fields, example: [sdid@enterprise-number level=INFO
id=1234]. I understand 2.20.1 does not support 5424 format but I
looked at the logger.c code in the latest version and seems structured
data fields are set to [timeQuality tzKnown=\"1\" isSynced=\"1\"
syncAccuracy=\"%ld\"]. Is there a way/plan to format custom structured
data?

Thanks,
Priya Ahuja
--
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