Validator Home
Setup LogRotate
3min
LogRotate will break your log into a new file daily and keep 7 days of logs and discard old logs.
Important: Make sure your validator start script starts with exec or your validator will go offline for a time each time the logs rotate.
Run as root user, use sudo -i
Copy code block and paste into terminal.
Restart logrotate service
Continue on to Starting your validator
Updated 25 Mar 2024
Did this page help you?