Skip to content

Commit 903bf8c

Browse files
committed
log BUGFIX properly set default verbosity
1 parent 25a5fdf commit 903bf8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/log.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
#include "common.h"
3434
#include "compat.h"
3535

36-
volatile uint8_t np2_verbose_level;
37-
uint8_t np2_libssh_verbose_level;
38-
uint8_t np2_sr_verbose_level;
39-
uint8_t np2_stderr_log;
36+
volatile uint8_t np2_verbose_level = NC_VERB_ERROR;
37+
uint8_t np2_libssh_verbose_level = 0;
38+
uint8_t np2_sr_verbose_level = SR_LL_ERR;
39+
uint8_t np2_stderr_log = 0;
4040

4141
static void
4242
np2log(int priority, const char *src, const char *fmt, ...)

0 commit comments

Comments
 (0)