diff options
author | Martin Willi <martin@revosec.ch> | 2014-10-09 16:14:38 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-10-10 11:42:18 +0200 |
commit | 3db58e837caa5eabfcb752b32960f4116ee9b209 (patch) | |
tree | 6918fc635d12c6f1c5ab4ac37bbbb3530d73cea7 /src | |
parent | 046b547a37907ee303f23ba47ea2fee190e256d4 (diff) | |
download | strongswan-3db58e837caa5eabfcb752b32960f4116ee9b209.tar.bz2 strongswan-3db58e837caa5eabfcb752b32960f4116ee9b209.tar.xz |
vici: Reduce debug level during thread spawning
We want to avoid libvici users to get a cluttered stderr for no real error.
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/plugins/vici/libvici.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcharon/plugins/vici/libvici.c b/src/libcharon/plugins/vici/libvici.c index 54b8cc582..20b007447 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); } } |