aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/core/logging.h')
-rw-r--r--include/osmocom/core/logging.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 295e5a85..803b4a94 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -16,7 +16,9 @@
/*! Maximum number of logging filters */
#define LOG_MAX_FILTERS 8
+#ifndef DEBUG
#define DEBUG
+#endif
#ifdef DEBUG
/*! Log a debug message through the Osmocom logging framework