Update of /cvsroot/mahogany/M/include/mail
In directory usw-pr-cvs1:/tmp/cvs-serv21682/include/mail
Modified Files:
ServerInfo.h
Log Message:
minor tweaks to the debugging trace messages
Index: ServerInfo.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/mail/ServerInfo.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -u -2 -r1.1 -r1.2
--- ServerInfo.h 14 Jul 2002 23:41:22 -0000 1.1
+++ ServerInfo.h 15 Jul 2002 17:03:06 -0000 1.2
@@ -23,5 +23,5 @@
// put this in the trace mask to get messages about connection caching
-#define TRACE_CONN_CACHE "conncache"
+#define TRACE_SERVER_CACHE "servercache"
/**
@@ -76,4 +76,8 @@
if ( i->CanBeUsedFor(folder) )
{
+ wxLogTrace(TRACE_SERVER_CACHE,
+ "Reusing existing server entry for %s(%s).",
+ folder->GetFullName().c_str(), i->m_login.c_str());
+
// found
return *i;
@@ -82,4 +86,8 @@
// not found
+ wxLogTrace(TRACE_SERVER_CACHE,
+ "No server entry for %s found.",
+ folder->GetFullName().c_str());
+
return NULL;
}
@@ -100,4 +108,8 @@
if ( !serverInfo )
{
+ wxLogTrace(TRACE_SERVER_CACHE,
+ "Creating new server entry for %s(%s).",
+ folder->GetFullName().c_str(), folder->GetLogin().c_str());
+
serverInfo = mf->CreateServerInfo(folder);
@@ -195,5 +207,5 @@
m_hasAuthInfo = !m_login.empty() && !m_password.empty();
- wxLogTrace(TRACE_CONN_CACHE,
+ wxLogTrace(TRACE_SERVER_CACHE,
"Created server entry for %s(%s).",
folder->GetFullName().c_str(), m_login.c_str());
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates