11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina SSSD supports two representations for specifying the debug level. The
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina simplest is to specify a decimal value from 0-9, which represents
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina enabling that level and all lower-level debug messages. The more
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina comprehensive option is to specify a hexadecimal bitmask to enable or
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina disable specific levels (such as if you wish to suppress a level).
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina Currently supported debug levels:
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina Fatal failures. Anything that would prevent SSSD from starting up or
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina causes it to cease running.
f5d3f4304a767f20484c5a97012720e272a9a022Pavel Březina Critical failures. An error that doesn't kill SSSD, but one that
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina indicates that at least one major feature is not going to work
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina <emphasis>0x0040</emphasis>: Serious failures. An error announcing
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina that a particular request or operation has failed.
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina <emphasis>0x0080</emphasis>: Minor failures. These are the errors that
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina would percolate down to cause the operation failure of 2.
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina <emphasis>0x0100</emphasis>: Configuration settings.
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina <emphasis>0x0400</emphasis>: Trace messages for operation functions.
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina <emphasis>0x1000</emphasis>: Trace messages for internal control
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina <emphasis>0x2000</emphasis>: Contents of function-internal variables
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina that may be interesting.
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina <emphasis>0x4000</emphasis>: Extremely low-level tracing information.
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina To log required bitmask debug levels, simply add their numbers together
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina as shown in following examples:
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina <emphasis>Example</emphasis>: To log fatal failures, critical failures,
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina serious failures and function data use 0x0270.
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina <emphasis>Example</emphasis>: To log fatal failures, configuration
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina settings, function data, trace messages for internal control functions
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina <emphasis>Note</emphasis>: The bitmask format of debug levels was
11540d9efb85b9ed0341e8a1fc97fc078c6ce418Pavel Březina introduced in 1.7.0.