Skip to content

Commit

Permalink
Merge pull request #64 from jabl/log
Browse files Browse the repository at this point in the history
Use the modern standard rsyslog format, only logs from slurm daemons and only write slurm logs to the slurm logfile.
  • Loading branch information
martbhell authored Oct 14, 2016
2 parents 3118c97 + 17965d3 commit 788dfbf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/slurm_rsyslog.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Managed by ansible
if $programname contains_i 'slurm' then {
/var/log/slurm/slurm.log

if $programname startswith 'slurm' then {
/var/log/slurm/slurm.log;RSYSLOG_FileFormat
stop
}

0 comments on commit 788dfbf

Please sign in to comment.