Skip to content

Commit 47ce7cc

Browse files
committed
Set defaults
1 parent 66776a2 commit 47ce7cc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/debug.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@
3434

3535
#include "debug.h"
3636

37-
debugconf_t debugconf = {0, 0, 0, 0};
37+
debugconf_t debugconf = {
38+
.debuglevel = LOG_INFO,
39+
.log_stderr = 1,
40+
.log_syslog = 0,
41+
.syslog_facility = 0
42+
};
3843

3944
/** @internal
4045
Do not use directly, use the debug macro */

0 commit comments

Comments
 (0)