summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-15 15:33:13 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-15 15:35:57 +0200
commitb6f6c3a2ed19cc34cce5d19c32c921227165bdd0 (patch)
treeeed42adaae834da5a1bd5969f69e5e079bde1019 /ucb
parent5d4bff48932aff38e978bce2d360b4bf740327ae (diff)
Conditionalize call of ne_debug_init() using the SAL_INFO() mechanism
Instead of #if OSL_DEBUG_LEVEL>0. Change-Id: I2329de4deff4687fb1249c47f2e24eaf6ea6a248
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 81bb6ab9e4fd..6313a29681ed 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;
}