- use explicit flushes instead of setlinebuf. I've had reports of
verbose info not being line buffered to files. - add a call to localtime() in open_log() in order to prime the C libraries timezone cache before the chroot(). This should fix the problem of rsyncd log entries being in GMT time.
Showing
Please register or sign in to comment