Open flotti455 opened 3 years ago
I can also confirm we are having the same problem albeit this with Chia's default log rotation rather than logrotate
. The symptoms are exactly the same, when the log rolls over Chiadog cannot handle the problem correctly and thinks that the harvester is offline.
Environment:
wrt Docker, I am using docker volume mounting with -v
argument to directly mount the debug.log
file into the container.
Describe the bug
Instead of Chia's built-in log rotation, I use
logrotate
with the following configuration:Whenever
logrotate
rotates Chia's log (as per my configuration, once per hour), Chiadog fails to process the logI assume that Chiadog / pygtail has problems with the
copytruncate
rotation strategy.Environment: