aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-11-30 14:34:49 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-11-30 14:34:49 +0100
commitcf0cbc8ef4a365ce05abd0eee7afab30210a0caf (patch)
tree3dc1522739671cca006583b1da0b2f3192eaae35
parentwork on encoding / decoding gg_packet (diff)
downloadglouglou-cf0cbc8ef4a365ce05abd0eee7afab30210a0caf.tar.xz
glouglou-cf0cbc8ef4a365ce05abd0eee7afab30210a0caf.zip
set libglouglou verbosity relative to log level
-rw-r--r--glougloud/glougloud.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glougloud/glougloud.c b/glougloud/glougloud.c
index a62ce5c..b0b57db 100644
--- a/glougloud/glougloud.c
+++ b/glougloud/glougloud.c
@@ -72,6 +72,8 @@ main(int argc, char **argv)
}
}
+ gg_verbosity_set(loglevel);
+
ev_base = event_base_new();
ev_sigint = evsignal_new(ev_base, SIGINT, sig_handler, NULL);