Validator Home
Setup LogRotate
3min
logrotate 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 cli cat > logrotate xand <\<eof /home/xand/xand validator log { rotate 7 daily missingok postrotate 	systemctl kill s usr1 xand service endscript } eof sudo cp logrotate xand /etc/logrotate d/xand restart logrotate service cli sudo systemctl restart logrotate service continue on to starting your validator docid\ epscy0ehdzuy0xe5wbeb