From: Martin Willi Date: Thu, 9 Oct 2014 14:14:38 +0000 (+0200) Subject: vici: Reduce debug level during thread spawning X-Git-Tag: 5.2.1rc1~8^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3db58e837caa5eabfcb752b32960f4116ee9b209;p=thirdparty%2Fstrongswan.git vici: Reduce debug level during thread spawning We want to avoid libvici users to get a cluttered stderr for no real error. --- diff --git a/src/libcharon/plugins/vici/libvici.c b/src/libcharon/plugins/vici/libvici.c index 54b8cc582a..20b007447f 100644 --- a/src/libcharon/plugins/vici/libvici.c +++ b/src/libcharon/plugins/vici/libvici.c @@ -754,7 +754,9 @@ void vici_init() library_init(NULL, "vici"); if (lib->processor->get_total_threads(lib->processor) < 4) { + dbg_default_set_level(0); lib->processor->set_threads(lib->processor, 4); + dbg_default_set_level(1); } }