Add to your cron
crontab -e
Add a line like this
# m h dom mon dow command
0 * * * * /usr/sbin/logrotate /media/ork/berg/mainnet/logrotate.conf --state /media/ork/berg/mainnet/logrotate-state
Write a config file like this one
#/media/ork/berg/mainnet/logrotate.conf
/media/ork/berg/mainnet/*.txt {
daily
missingok
rotate 24
compress
nocreate
}
NOTE: also it's still possible to search compressed logs w/ zgrep
This snippet looks for EOM's that arrive before the local node has progressed to the next block