Changeset 735:da8bfb070900 in freeDiameter
- Timestamp:
- Mar 2, 2011, 2:37:19 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdproto.h
r717 r735 173 173 #define CALL 9 /* Display calls to most functions (with CHECK macros) */ 174 174 175 /* Default level is INFO*/175 /* Increment the debug level for a file at compilation time by defining -DTRACE_LEVEL=FULL for example. */ 176 176 #ifndef TRACE_LEVEL 177 #define TRACE_LEVEL INFO177 #define TRACE_LEVEL NONE 178 178 #endif /* TRACE_LEVEL */ 179 179 … … 181 181 static int local_debug_level = TRACE_LEVEL; 182 182 183 /* A global level, changed by configuration or cmd line for example. default is 0. */183 /* A global level, changed by configuration or cmd line for example. Default is INFO (in libfdproto/log.c). */ 184 184 extern int fd_g_debug_lvl; 185 185 -
libfdproto/log.c
r706 r735 40 40 pthread_mutex_t fd_log_lock = PTHREAD_MUTEX_INITIALIZER; 41 41 pthread_key_t fd_log_thname; 42 int fd_g_debug_lvl = 0;42 int fd_g_debug_lvl = INFO; 43 43 44 44 /* These may be used to pass specific debug requests via the command-line parameters */
Note: See TracChangeset
for help on using the changeset viewer.