syslog

bridged with qnx.qnx4
Post Reply
Lawrence R. Sweet

syslog

Post by Lawrence R. Sweet » Thu Jun 21, 2007 4:57 pm

Is there a way to configure the syslog daemon so that it includes the year
in the message timestamp?

Larry

Ryan J. Allen

Re: syslog

Post by Ryan J. Allen » Thu Jun 21, 2007 6:38 pm

On 21/06/2007 12:57 PM, Lawrence R. Sweet wrote:
Is there a way to configure the syslog daemon so that it includes the year
in the message timestamp?
No. We only copy 15 characters from ctime() + 4 (the +4 gets rid of the
weekday at the beginning).

--
Ryan J. Allen
QNX Software Systems

Lawrence R. Sweet

Re: syslog

Post by Lawrence R. Sweet » Thu Jun 21, 2007 9:40 pm

Thanks Ryan.

"Ryan J. Allen" <ryallen@qnx.com> wrote in message
news:f5eg0d$97d$1@inn.qnx.com...
On 21/06/2007 12:57 PM, Lawrence R. Sweet wrote:
Is there a way to configure the syslog daemon so that it includes the
year in the message timestamp?

No. We only copy 15 characters from ctime() + 4 (the +4 gets rid of the
weekday at the beginning).

--
Ryan J. Allen
QNX Software Systems

Post Reply

Return to “qnx.qnx4”