SlurmctldDebug=5 logs error, info, verbose and debug messages.  
Increase the value for more logging (6=debug2, 7=debug3, etc.). Each  
increment of the number generates about 5 times as many messages.

The DebugFlags configuration parameter can be used to enable  
additional logging for specific SLURM sub-systems (e.g. Backfill,  
CPU_Bind, Gres, Triggers, etc.)

Quoting Sergio Iserte Agut <[email protected]>:

> I have this in my *slurm.conf* file:
>
> SlurmctldDebug=5
>
> SlurmctldLogFile=/var/log/slurm/slurmctld.log
>> SlurmdDebug=5
>> SlurmdLogFile=/var/log/slurm/slurmd.log
>
>
> and I can't see in the log file either messages wrapped with
>
> if (select_debug_flags & DEBUG_FLAG_CPU_BIND) {
>> info("cons_res: cr_job_test:...");
>> }
>
>
> or from the output of
>
> debug2();
>> debug3();
>
>
> Thank you!
>
>
> 2012/5/3 Jerry Smith <[email protected]>
>
>> **
>> What level do you have SlurmctldDebug and SlurmdDebug set to.
>>
>> Though you have enabled debugging, you have to up the Debug levels to see
>> it in the logs.
>>
>> Example:
>>
>>       SlurmctldDebug|SlurmdDebug
>>               The level of detail to provide slurmd daemon's logs.  Values
>> from 0 to 9 are legal,  with  `0'  being
>>               "quiet" operation and `9' being insanely verbose.  The
>> default value is 3.
>>
>>
>>
>> Sergio Iserte Agut wrote:
>>
>> Hello,
>> I'm trying to enable the debug messages but they don't appear in the log
>> file (/var/log/slurm/slurmctld.log).
>> This is my procedure:
>>
>>  # ./configure  --enable-debug --prefix=/usr --sysconfdir=/etc/slurm
>>
>> # make
>>> # make install
>>> # service slurm start
>>
>>
>>  Which is the error?
>>
>>  Thank you!
>>
>>  *--
>> *
>> *Sergio Iserte Agut, assistant researcher,*
>> *High Performance Computing & Architecture, University Jaume I (Spain)*
>>
>>
>>
>
>
> --
> *--
> *
> *Sergio Iserte Agut, assistant researcher,*
> *High Performance Computing & Architecture, University Jaume I (Spain)*
>

Reply via email to