Moe,
That all makes sense and sounds good, but I went to the
slurm.conf file and added the line:
SlurmctldDebug=debug
and did a /etc/init.d/slurm restart. (I also tried a
scontrol reconfigure.) I even rebooted.
Experimentally, my plugin does both slurm_info and slurm_debug
calls. I see the slurm_info deliver to my terminal, but not
the slurm_debug. Neither show up in slurmctld.log, where I
was expecting to see the slurm_debug.
Any idea what I am doing wrong?
Thanks,
Bob
On Fri, 17 Apr 2015, Moe Jette wrote:
Messages printed with those functions are only seen if someone has the
daemons configured to print those more verbose messages. See the
"SlurmctldDebug" parameter info in the slurm.conf man page:
http://slurm.schedmd.com/slurm.conf.html
Quoting Bob Moench <r...@cray.com>:
Hi,
Does anyone know what the various SPANK logging functions
do? They exist in spank.h with the description: "SLURM
logging functions which are exported to plugins". I have
been using slurm_info and slurm_error and they come out to
stdout/err.
What are slurm_debug, slurm_debug2, slurm_debug3? How do
they differ?
The man page and Schedmd documentation are silent on these.
Thanks,
Bob
--
Bob Moench (rwm); PE Debugger Development; 605-9034; 354-7895; SP 24227
--
Morris "Moe" Jette
CTO, SchedMD LLC
Commercial Slurm Development and Support
--
Bob Moench (rwm); PE Debugger Development; 605-9034; 354-7895; SP 24227