Hi, i wanted to understand how log rotation of slurmctld works. in my environment i don't have any logrotation for the slurmctld.log and now the log file size reached to 125GB.
can i move the log file to some other location and then restart.reload of slurm service will start a new log file.i think this should work without any issues. am i right or it will create any issue. Also i need to create a log rotate.is the below config works as it is.i need to do it on production environment so asking to make sure it will work fine without any issue. /var/log/slurm/slurmctld.log { weekly missingok notifempty sharedscripts create 0600 slurm slurm rotate 8 compress postrotate /bin/systemctl reload slurmctld.service > /dev/null 2>/dev/null || true endscript } Regards Navin.