--- a/webservices/wsconnection/src/senserviceconnectionimpl.cpp Wed Sep 01 12:28:05 2010 +0100
+++ b/webservices/wsconnection/src/senserviceconnectionimpl.cpp Tue Sep 14 23:25:14 2010 +0300
@@ -20,6 +20,7 @@
#include <s32strm.h>
#include <f32file.h>
#include <e32property.h>
+#include <bautils.h>
#include "senserviceconnectionimpl.h"
@@ -192,6 +193,21 @@
void CSenServiceConnectionImpl::ConstructL(MSenServiceDescription& aSD)
{
+ #ifdef _SENDEBUG
+ #ifdef _DEBUG
+
+ RFs fs;
+ fs.Connect();
+ TBool ret = BaflUtils::FolderExists(fs, _L("c:\\logs\\wslog\\"));
+ if(!ret)
+ {
+ fs.MkDirAll(_L("c:\\logs\\wslog\\"));
+ }
+ fs.Close();
+
+ #endif // _DEBUG
+ #endif // _SENDEBUG
+
TLSLOG_L(KSenServiceConnectionLogChannelBase+iConnectionID, KMinLogLevel ,"CSenServiceConnectionImpl::ConstructL(aSD)");
CSenElement& sdAsElement = ((CSenXmlServiceDescription&)aSD).AsElement();
@@ -3517,6 +3533,7 @@
void CSenServiceConnectionImpl::DeliverStatus(TInt aStatus)
{
+ TLSLOG(KSenServiceConnectionLogChannelBase+iConnectionID, KMinLogLevel,(_L("CSenServiceConnectionImpl::DeliverStatus()")));
TLSLOG_FORMAT((KSenServiceConnectionLogChannelBase+iConnectionID, KMinLogLevel , _L8("Invoking SetStatus(%d) callback."), aStatus ));
TLSLOG_FORMAT(( iTlsLogStatusChannel, KSenServiceConnectionStatusLogLevel, _L8("CSenServiceConnectionImpl::DeliverStatus [legacy status update] - Invoking SetStatus(%d)"), aStatus ));