[Libreoffice-commits] core.git: ucb/source
Tor Lillqvist
tml at iki.fi
Fri Mar 15 06:36:27 PDT 2013
ucb/source/ucp/webdav-neon/NeonSession.cxx | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
New commits:
commit b6f6c3a2ed19cc34cce5d19c32c921227165bdd0
Author: Tor Lillqvist <tml at iki.fi>
Date: Fri Mar 15 15:33:13 2013 +0200
Conditionalize call of ne_debug_init() using the SAL_INFO() mechanism
Instead of #if OSL_DEBUG_LEVEL>0.
Change-Id: I2329de4deff4687fb1249c47f2e24eaf6ea6a248
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 81bb6ab..6313a29 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -695,20 +695,20 @@ void NeonSession::Init()
// #122205# - libxml2 needs to be initialized once if used by
// multithreaded programs like OOo.
xmlInitParser();
-#if OSL_DEBUG_LEVEL > 0
+
// for more debug flags see ne_utils.h; NE_DEBUGGING must be defined
// while compiling neon in order to actually activate neon debug
// output.
- ne_debug_init( stderr, NE_DBG_FLUSH
- | NE_DBG_HTTP
- // | NE_DBG_HTTPBODY
- // | NE_DBG_HTTPAUTH
- // | NE_DBG_XML
- // | NE_DBG_XMLPARSE
- | NE_DBG_LOCKS
- | NE_DBG_SSL
- );
-#endif
+ SAL_INFO("ucb.ucp.webdav", "Turning on Neon debug output (if enabled when building Neon)" <<
+ (ne_debug_init( stderr, NE_DBG_FLUSH
+ | NE_DBG_HTTP
+ // | NE_DBG_HTTPBODY
+ // | NE_DBG_HTTPAUTH
+ // | NE_DBG_XML
+ // | NE_DBG_XMLPARSE
+ | NE_DBG_LOCKS
+ | NE_DBG_SSL
+ ), ""));
m_bGlobalsInited = true;
}
More information about the Libreoffice-commits
mailing list