Using syslog(3) after chroot-ing
Charles Swiger
cswiger at mac.com
Wed Jun 30 12:06:51 PDT 2004
On Jun 30, 2004, at 3:00 PM, Mikhail Teterin wrote:
> =What happens if you set TZ in the environment which syslogd is started
> =up from?
>
> That's an idea. Can I just call tzset() (or tzsetwall()?) prior to
> chroot-ing?
I suspect that you could indeed. Again, just to be clear: the
timestamps are produced by syslogd, not by the program doing the
logging, so you'd have to change syslogd itself.
--
-Chuck
More information about the freebsd-questions
mailing list