Skip navigation.
Home
The QNX Community Portal

View topic - syslog

syslog

Read-only archive of qnx.qnx4 (General QNX4 Discussion Group) at inn.qnx.com

syslog

Postby yudansha » 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
yudansha
Active Member
 
Posts: 10
Joined: Thu Dec 07, 2006 3:50 pm

Re: syslog

Postby 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
Ryan J. Allen
 

Re: syslog

Postby yudansha » 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
yudansha
Active Member
 
Posts: 10
Joined: Thu Dec 07, 2006 3:50 pm


Return to qnx.qnx4

Who is online

Users browsing this forum: No registered users and 1 guest