summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-11-02 22:21:29 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-06 21:23:28 +0100
commitadc7b1cb15754858612f5c580f1139855e2c6044 (patch)
tree3c60fe81a3d672845c736ef90679a9173983441b
parent8ba75133979dee0b0890eeaca39bd0c33fd87b4e (diff)
downloadsssd-adc7b1cb15754858612f5c580f1139855e2c6044.tar.gz
sssd-adc7b1cb15754858612f5c580f1139855e2c6044.tar.xz
sssd-adc7b1cb15754858612f5c580f1139855e2c6044.zip
add SSSDBG_IMPORTANT_INFO macro
We currently have only SSSDBG_FATAL_FAILURE macro that corresponds to original debug level 0. But there are several level 0 messages that are not actually failures but an important information. We should use this new macro to represent them.
-rw-r--r--src/util/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index a96f519ad..e0f153f26 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -77,6 +77,7 @@ errno_t set_debug_file_from_fd(const int fd);
#define SSSDBG_TRACE_LIBS 0x1000 /* level 7 */
#define SSSDBG_TRACE_INTERNAL 0x2000 /* level 8 */
#define SSSDBG_TRACE_ALL 0x4000 /* level 9 */
+#define SSSDBG_IMPORTANT_INFO SSSDBG_OP_FAILURE
#define SSSDBG_INVALID -1
#define SSSDBG_UNRESOLVED 0