[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] DAGMan debug levels



On Jul 11, 2005, at 7:46 AM, Horvatth Szabolcs wrote:

Could you give some details about the debug levels of DAGMan? The docs don't say much about specific levels.

Horvatth,

The higher the debug level, the more info you get. ;)

To be a bit more helpful, here are the internal names corresponding to each debug level:

  /** NEVER output, except for usage info */ DEBUG_SILENT  = 0,
  /** Very quiet, only severe errors */      DEBUG_QUIET   = 1,
  /** Normal output, errors and warnings */  DEBUG_NORMAL  = 2,
  /** Errors, and all warnings */            DEBUG_VERBOSE = 3,
  /** Basic debug output */                  DEBUG_DEBUG_1 = 4,
  /** Outer Loop Debug */                    DEBUG_DEBUG_2 = 5,
  /** Inner Loop Debug */                    DEBUG_DEBUG_3 = 6,
  /** Rarely Used Debug */                   DEBUG_DEBUG_4 = 7,

I'll see about briefly documenting these in the next release -- thanks for pointing out that they're missing.

In practice, unless you're a debugging DAGMan internals, anything higher than "3" (DEBUG_VERBOSE) is not going to be helpful. I'd recommend DEBUG_VERBOSE for normal use, because it's nice for post-mortem analysis if anything goes wrong with DAGMan. I'd only lower it if the logs get too big.

-Peter

--
Peter Couvares                        University of Wisconsin-Madison
Condor Project Research               Department of Computer Sciences
pfc@xxxxxxxxxxx                       1210 W. Dayton St. Rm #4241
(608) 265-8936                        Madison, WI 53706-1685