From 571934cb45a309cb01d2d115059dd678167d0353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Tue, 9 Aug 2011 12:50:10 +0200 Subject: [PATCH 4/6] New DEBUG facility - man pages https://fedorahosted.org/sssd/ticket/925 --- src/man/include/debug_levels.xml | 60 ++++++++++++++++++++++++++++++++++++++ src/man/sssd.8.xml | 8 +---- src/man/sssd.conf.5.xml | 11 +------ 3 files changed, 62 insertions(+), 17 deletions(-) create mode 100644 src/man/include/debug_levels.xml diff --git a/src/man/include/debug_levels.xml b/src/man/include/debug_levels.xml new file mode 100644 index 0000000..ce50640 --- /dev/null +++ b/src/man/include/debug_levels.xml @@ -0,0 +1,60 @@ + + + Bit mask that indicates which debug levels will be visible. 0x0010 is the default value as well + as the lowest allowed value, 0xFFF0 is the most verbose mode. This setting + overrides the settings from config file. + + + Currently supported debug levels: + + + 0x0010: + Fatal failures. Anything that would prevent SSSD from starting up or causes it to cease running. + + + 0x0020: + Critical failures. An error that doesn't kill the SSSD, but one that indicates + that at least one major feature is not going to work properly. + + + 0x0040: Serious failures. An error announcing that a particular request or + operation has failed. + + + 0x0080: Minor failures. These are the errors that would percolate down to + cause the operation failure of 2. + + + 0x0100: Configuration settings. + + + 0x0200: Function data. + + + 0x0400: Trace messages for operation functions. + + + 0x1000: Trace messages for internal control functions. + + + 0x2000: Contents of function-internal variables that may be interesting. + + + 0x4000: Extremely low-level tracing information. + + + To log required debug levels, simply add their numbers together as shown in following examples: + + + Example: To log fatal failures, critical failures, + serious failures and function data use 0x0270. + + + Example: To log fatal failures, configuration settings, function data, + trace messages for internal control functions use 0x1310. + + + Note: This is new format of debug levels introduced in 1.7.0. + Older format (numbers from 0-10) is compatible but deprecated. + + diff --git a/src/man/sssd.8.xml b/src/man/sssd.8.xml index 1856719..e4d972c 100644 --- a/src/man/sssd.8.xml +++ b/src/man/sssd.8.xml @@ -46,13 +46,7 @@ , LEVEL - - - Debug level to run the daemon with. 0 is the default as well - as the lowest allowed value, 10 is the most verbose mode. This setting - overrides the settings from config file. This parameter implies . - - + diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml index e038055..6f85dda 100644 --- a/src/man/sssd.conf.5.xml +++ b/src/man/sssd.conf.5.xml @@ -208,16 +208,7 @@ debug_level (integer) - - - Sets the debug level for the service. The - value can be in range from 0 (only critical - messages) to 10 (very verbose). - - - Default: 0 - - + debug_timestamps (bool) -- 1.7.6