Page 1 of 1

Delayed log files?

Posted: Thu Nov 02, 2023 5:49 pm
by pygr
Package build from source current with github master as of Wed Nov 1 17:27:47 2023 -0400
OS: dietpi 8.22.3

When viewing logs, for example

Code: Select all

cat /var/log/zm/zmc_m2.log
it can take more than 1/2 hour before the entries catch up to the current time. Log entries in the web UI don't have that delay. And monitors 1, 2, and 3 show different log file delays.

What gives?

Re: Delayed log files?

Posted: Thu Nov 02, 2023 6:42 pm
by iconnor
Typically when writing to a file, contents get cached. When we turn on debug, we do an explicit flush after every line.