From 0d8ad48d762ad8548b1c89bd189d912b7beeb2c7 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Mon, 24 Apr 2006 21:25:29 +0000
Subject: [PATCH] Update slurm.conf.example to note use of "%h" in SlurmdLog
 config parameter.

---
 etc/slurm.conf.example | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/etc/slurm.conf.example b/etc/slurm.conf.example
index 0488cfa5d43..cbcb88bd10b 100644
--- a/etc/slurm.conf.example
+++ b/etc/slurm.conf.example
@@ -124,8 +124,9 @@
 #                         (If a logfile is set for slurmctld, logging via
 #                          syslog will be turned off)
 #
-#    "SlurmdLogFile"    : fully qualified pathname to slurmd logfile
-#                         (same caveat as SlurmctldLogfile above)
+#    "SlurmdLogFile"    : fully qualified pathname to slurmd logfile,
+#                         may contain "%h" for hostname substitution
+#                         (same caveat as SlurmctldLogFile above)
 #
 # Example:
 #
@@ -133,7 +134,7 @@
 # SlurmdDebug=4		# default is `3'
 #
 # SlurmctldLogFile=/var/log/slurmctld.log  # default is to log via syslog()
-# SlurmdLogFile=/var/log/slurmd.log        # default is to log via syslog()
+# SlurmdLogFile=/var/log/slurmd.log.%h     # substitute hostname for "%h"
 
 
 # o Define an alternate location for slurmd and slurmctld pid files, 
-- 
GitLab