connectivity/com.nokia.tcf/native/TCFNative/TCFServer/ServerManager.cpp
changeset 366 b054461d2f85
parent 60 9d2210c8eed2
--- a/connectivity/com.nokia.tcf/native/TCFNative/TCFServer/ServerManager.cpp	Thu Jul 16 09:39:55 2009 -0500
+++ b/connectivity/com.nokia.tcf/native/TCFNative/TCFServer/ServerManager.cpp	Wed Jul 22 12:14:43 2009 -0500
@@ -28,7 +28,7 @@
 extern BOOL gDoLogging;
 #endif
 
-#define LOG_SERVERMANAGER
+//#define LOG_SERVERMANAGER
 #if defined(LOG_SERVERMANAGER) && defined(_DEBUG)
 extern char TCDebugMsg[];
 #define TCDEBUGOPEN() if (gDoLogging) { m_DebugLog->WaitForAccess(); }
@@ -66,7 +66,7 @@
 }
 CServerManager::CServerManager(const char* exeLocation)
 {
-#ifdef _DEBUG
+#if defined(LOG_SERVERMANAGER) && defined(_DEBUG)
 	if (gDoLogging)
 		m_DebugLog = new TCDebugLog("TCF_ServerLog", ::GetCurrentProcessId());
 	else