I'm writing a daemon, which chroots after initialization. It uses
syslog(3) extensively.

I have already figured out, that I need to openlog() with LOG_NDELAY,
otherwise syslog() will not find the syslogd's socket.

Is there a similar trick to make it use the local timezone instead of
UTC? I'm surprised, the time is interpreted by the sender (rather than
by the syslogd-recipient), but it is -- and I want it to be local,
without copying /etc/localtime into the chroot tree.



[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to