Using syslog(3) after chroot-ing

Charles Swiger cswiger at mac.com
Wed Jun 30 10:30:04 PDT 2004


On Jun 29, 2004, at 6:22 PM, Mikhail Teterin wrote:
> 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.

What happens if you set TZ in the environment which syslogd is started 
up from?

-- 
-Chuck



More information about the freebsd-questions mailing list