From a4be3f304dbf6bdfaab94ae6d3701ab28c4687c4 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Wed, 17 Apr 2013 15:29:22 +0200 Subject: [PATCH] Set log verbosity before calling csync_init. --- src/mirall/csyncthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mirall/csyncthread.cpp b/src/mirall/csyncthread.cpp index 4c409db8b..afd11cacf 100644 --- a/src/mirall/csyncthread.cpp +++ b/src/mirall/csyncthread.cpp @@ -349,6 +349,7 @@ void CSyncThread::startSync() _target.toUtf8().data()) < 0 ) { emit csyncError( tr("CSync create failed.") ); } + csync_set_log_verbosity(csync, 11); MirallConfigFile cfg; csync_set_config_dir( csync, cfg.configPath().toUtf8() ); @@ -380,7 +381,6 @@ void CSyncThread::startSync() // set module properties, mainly the proxy information. // do not use QLatin1String here because that has to be real const char* for C. - csync_set_log_verbosity(csync, 11); csync_set_module_property(csync, "csync_context", csync); csync_set_module_property(csync, "proxy_type", (char*) proxyTypeToCStr(_proxy.type()) ); csync_set_module_property(csync, "proxy_host", _proxy.hostName().toUtf8().data() );