<div dir="ltr">Hi,<div><br></div><div>i wanted to understand how log rotation of slurmctld works.</div><div>in my environment i don't have any logrotation for the slurmctld.log and now the log file size reached to 125GB.  </div><div><br></div><div>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.</div><div>am i right or it will create any issue. </div><div><br></div><div>Also i need to create a log <a href="http://rotate.is">rotate.is</a> 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.</div><div><pre style="padding:5px;border:1px solid rgb(192,192,192);font-family:courier,monospace;white-space:pre-wrap;background-color:rgb(255,248,237);color:rgb(0,0,0);font-size:16px">/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
}</pre><pre style="padding:5px;border:1px solid rgb(192,192,192);font-family:courier,monospace;white-space:pre-wrap;background-color:rgb(255,248,237);color:rgb(0,0,0);font-size:16px"><br></pre></div><div><br></div><div>Regards<br></div><div>Navin.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>