On Wed, 7 Jan 2004, Mark Hellman wrote:

> I would like to process Cyrus logs and do some date arithmetic. But this
> is difficult because Syslog does not log the year, only month and day. And
> changing Syslog date format involves recompiling its source, and risking
> breaking other program that depend on Syslog's default date format.
>
> One solution would be Cyrus to append a timestamp to every entry it sends
> to syslog. This timestamp would be in UNIX time.
> What parts of Cyrus source must I change to achieve this?

It is almost certainly less of a headache to modify syslog.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

Reply via email to