Delayed log files?

Current Development version likely to have breaking changes
Post Reply
pygr
Posts: 48
Joined: Fri Apr 21, 2023 11:49 pm

Delayed log files?

Post 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?
User avatar
iconnor
Posts: 2949
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Delayed log files?

Post by iconnor »

Typically when writing to a file, contents get cached. When we turn on debug, we do an explicit flush after every line.
Post Reply