[mapguide-commits] r4733 - trunk/MgDev/Common/CoordinateSystem
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Apr 1 15:52:20 EDT 2010
Author: brucedechant
Date: 2010-04-01 15:52:20 -0400 (Thu, 01 Apr 2010)
New Revision: 4733
Modified:
trunk/MgDev/Common/CoordinateSystem/CoordSysCatalog.cpp
Log:
Change debug statement to only appear in a DEBUG build due to the message appearing in the Apache log for RELEASE builds.
Modified: trunk/MgDev/Common/CoordinateSystem/CoordSysCatalog.cpp
===================================================================
--- trunk/MgDev/Common/CoordinateSystem/CoordSysCatalog.cpp 2010-04-01 19:49:06 UTC (rev 4732)
+++ trunk/MgDev/Common/CoordinateSystem/CoordSysCatalog.cpp 2010-04-01 19:52:20 UTC (rev 4733)
@@ -194,7 +194,10 @@
//if not set then try the default location
if(!szPathVar)
{
+ #ifdef _DEBUG
+ // This debug statement appears in the Apache log even under release builds. Wrapping this in an #ifdef will ensure it doesn't appear in RELEASE builds
ACE_DEBUG((LM_DEBUG, ACE_TEXT("\n(%t) CCoordinateSystemCatalog::GetDefaultDictionaryDir() - environment variable MENTOR_DICTIONARY_PATH not set.\n")));
+ #endif
TCHAR szPath[MAX_PATH];
if(SHGetSpecialFolderPath(NULL, szPath, CSIDL_COMMON_APPDATA, FALSE))
More information about the mapguide-commits
mailing list