[syslog-ng] syslog 3.0 and fra_digits()
Balazs Scheidler
bazsi at balabit.hu
Wed Apr 1 10:01:26 CEST 2009
Well, currently only the ISO timestamp format supports subsecond
resolution. This patch makes it possible to do the same with other
timestamp formats:
commit 70d758fe40ad64f78e28e87b629c54fbd1fdc09e
Author: Balazs Scheidler <bazsi at balabit.hu>
Date: Wed Apr 1 10:00:35 2009 +0200
[LogStamp] make it possible to use frac_digits with non-ISO timestamps
You can get it via nightly snapshot, or by cloning the git repository.
On Tue, 2009-03-31 at 15:20 -0700, Joe Hansen wrote:
> I need this format of date in my syslog (notice the 3 digit
> miliseconds):
>
> Mar 31 22:17:04.056 HOSTNAME PORTAGENT[10354]: INFO,broadcast srp
> down,
>
> NOT:
>
> 2009-03-31T22:17:42.000+00:00 HOSTNAME PORTAGENT[10354]:
> INFO,broadcast srp down
>
--
Bazsi
More information about the syslog-ng
mailing list