g4klx / NXDNClients

A gateway and a parrot for NXDN.
GNU General Public License v2.0
43 stars 155 forks source link

Log rotation #14

Closed AndyTaylorTweet closed 5 years ago

AndyTaylorTweet commented 6 years ago

Jonathan (et al.),

As the system rolls past midnight, the daemon does not write a new log file, in fact it does not write to the old log file and it does not write a new one either, so logging just stops.

The daemon keeps running and working correctly, just without a log output.

This issue may also exist in the P25 daemon too, although because I was already re-starting that each night I didn't notice.

Andy

AndyTaylorTweet commented 6 years ago

I should have made it more obvious - I am referring to the NXDNGateway running in daemon mode. Initial log creation is find - its only after midnight where new log entries are lost until the daemon is restarted.