imservices/searchfeatureplugin/srcutils/searchlogutils.cpp
changeset 30 1fa9b890f29c
parent 0 e6b17d312c8b
--- a/imservices/searchfeatureplugin/srcutils/searchlogutils.cpp	Fri Apr 09 20:09:00 2010 +0530
+++ b/imservices/searchfeatureplugin/srcutils/searchlogutils.cpp	Fri Apr 09 20:37:41 2010 +0530
@@ -27,12 +27,14 @@
 
 void XSearchLogger::Log(TRefByValue<const TDesC> aFmt,...)
     {
+#ifdef _DEBUG
     VA_LIST list;
     VA_START(list, aFmt);
     // Print to log file
     TBuf<KLogBufferLength> buf;
     buf.FormatList(aFmt, list);
     RFileLogger::Write(KImLogDir, KImLogFile, EFileLoggingModeAppend, buf);
+#endif
     }
 
 //  End of File