Hello, We've noticed that all the logs in the slurmctld.log file also appear in the same order in /var/log/message since we moved from v20.11 to v22.5. Is there any missing configuration in our slurm.conf file that is supposed to control this behavior? Best Regards, Misha
Created attachment 29542 [details] slurm.conf
Can you also attach/copy into this ticket the systemd init script used to start slurmctld?
Created attachment 29546 [details] slurmctld.service Hi Jason, Please find the attached slurmctld.service copied from /usr/lib/systemd/system/slurmctld.service. PS: The "/etc/sysconfig/slurmctld" doesn't exist in our settings. Best Regards, Misha
Hi Misha, There was a bug fixed in slurm 21.08 that prevented us from logging to a socket. After this change, systemd-journald now gets the logs as well as the log file... however systemd-journald can redirect those logs elsewhere causing the logs to show up in both the log file and in /var/log/messages. If this is a problem for you we recommend the following change to prevent the logs from making it into systemd-journald. You can try creating an override file for the slurmctld unit that looks like this: > $ cat /etc/systemd/system/slurmctld.service.d/slurmctld-logging.conf > [Service] > StandardOutput=null > StandardError=null After creating that file, you'd need to run "systemctl daemon-reload" and likely restart the slurmctld for it to take effect. This should prevent the logs from making it into systemd-journald and wherever it may redirect those logs. We suggest using override files like this so that the change will persist across slurm upgrades. Let me know if this helps! --Tim
Hi Tim, Thank you very much. That helped fix the issue here! Best Regards, Misha