DCache logfile output level

From GridPP Wiki
Jump to: navigation, search

It is possible to configure the log file output level in dCache. This can be done before a service is started by modifying the "set printout X" value in the services .batch file, or by entering the command "set printout X" in the services domain when it is running. The different values of X correspond to different output, as described below.

[DESY-HH-MAIN] (System) patrick > help set printo
 Syntax : set printout <cellname> <level(hex)>
          Sets the outputlevel to the specified value.
  <cellname>
          Name of the target cell or
          'CellGlue' for the kernel or
          'default' for the printoutlevel of new cells.
  <level> Shortcuts
            none   -> no printout
            errors -> cell and nuclues errors
            all    -> whatever comes
          or Different values must be or'ed
            0 -> no printout
            1 -> info printout cell
            2 -> error printout cell
            4 -> info printout nucleus
            8 -> error printout nucleus

The number is treated a bit mask, bit 0 (00000001 or just decimal 1)- debug messages are logged , bit 1 (00000010 or just decimal 2) - standard errors are logged, bit 2 (00000100 or decimal 4) - the communication fabric debug info is logged - which could be excessive and not very helpful for debugging. 5 (00000101) corresponds to debug and fabric debug enabled, while errors are not logged. If you want everything logged, you probably want 7, which is (00000111).