LSF_DEBUG_CMD

Syntax

LSF_DEBUG_CMD=log_class

Description

Sets the debugging log class for LSF commands and APIs.

Specifies the log class filtering to be applied to LSF commands or the API. Only messages belonging to the specified log class are recorded.

LSF_DEBUG_CMD sets the log class and is used in combination with LSF_CMD_LOG_MASK, which sets the log level. For example:
LSF_CMD_LOG_MASK=LOG_DEBUG LSF_DEBUG_CMD="LC_TRACE LC_EXEC"

Debugging is turned on when you define both parameters.

The daemons log to the syslog facility unless LSF_CMD_LOGDIR is defined.

To specify multiple log classes, use a space-separated list enclosed by quotation marks. For example:
LSF_DEBUG_CMD="LC_TRACE LC_EXEC"

Can also be defined from the command line.

Valid values

Valid log classes are:
  • LC_AFS and LC2_AFS: Log AFS messages
  • LC_AUTH and LC2_AUTH: Log authentication messages
  • LC_CHKPNT and LC2_CHKPNT: Log checkpointing messages
  • LC_COMM and LC2_COMM: Log communication messages
  • LC_DCE and LC2_DCE: Log messages pertaining to DCE support
  • LC_EEVENTD and LC2_EEVENTD: Log eeventd messages
  • LC_ELIM and LC2_ELIM: Log ELIM messages
  • LC_EXEC and LC2_EXEC: Log significant steps for job execution
  • LC_FAIR - Log fairshare policy messages
  • LC_FILE and LC2_FILE: Log file transfer messages
  • LC_HANG and LC2_HANG: Mark where a program might hang
  • LC_JARRAY and LC2_JARRAY: Log job array messages
  • LC_JLIMIT and LC2_JLIMIT: Log job slot limit messages
  • LC_LICENSE and LC2_LICENSE : Log license management messages (LC_LICENCE is also supported for backward compatibility)
  • LC_LOADINDX and LC2_LOADINDX: Log load index messages
  • LC_M_LOG and LC2_M_LOG: Log multiple event logging messages
  • LC_MPI and LC2_MPI: Log MPI messages
  • LC_MULTI and LC2_MULTI: Log messages pertaining to MultiCluster
  • LC_PEND and LC2_PEND: Log messages related to job pending reasons
  • LC_PERFM and LC2_PERFM: Log performance messages
  • LC_PIM and LC2_PIM: Log PIM messages
  • LC_PREEMPT and LC2_PREEMPT: Log preemption policy messages
  • LC_RESREQ and LC2_RESREQ: Log resource requirement messages
  • LC_SIGNAL and LC2_SIGNAL: Log messages pertaining to signals
  • LC_SYS and LC2_SYS: Log system call messages
  • LC_TRACE and LC2_TRACE: Log significant program walk steps
  • LC_XDR and LC2_XDR: Log everything transferred by XDR
  • LC2_KRB: Log message related to Kerberos integration
  • LC2_DC: Log message related to Dynamic Cluster
  • LC2_CGROUP: Log message related to cgroup operation
  • LC2_TOPOLOGY: Log message related to hardware topology
  • LC2_AFFINITY: Log message related to affinity
  • LC2_LSF_PE: Log message related to LSF PE integration */

Default

Not defined

See also

LSF_CMD_LOG_MASK, LSF_CMD_LOGDIR, LSF_DEBUG_LIM, LSF_DEBUG_RES, LSF_LIM_PORT, LSF_RES_PORT, LSB_MBD_PORT, LSB_SBD_PORT, LSF_LOGDIR, LSF_LIM_DEBUG, LSF_RES_DEBUG