axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r731624 - in /webservices/axis/trunk/c/src: engine/SOAPTransportFactory.cpp engine/XMLParserFactory.cpp transport/axis3/ChannelFactory.cpp
Date Mon, 05 Jan 2009 17:11:06 GMT
Author: nadiramra
Date: Mon Jan  5 09:11:06 2009
New Revision: 731624

URL: http://svn.apache.org/viewvc?rev=731624&view=rev
Log:
AXISCPP-100 - ensure tracing enabled before setting in parser and transport. 

Modified:
    webservices/axis/trunk/c/src/engine/SOAPTransportFactory.cpp
    webservices/axis/trunk/c/src/engine/XMLParserFactory.cpp
    webservices/axis/trunk/c/src/transport/axis3/ChannelFactory.cpp

Modified: webservices/axis/trunk/c/src/engine/SOAPTransportFactory.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/engine/SOAPTransportFactory.cpp?rev=731624&r1=731623&r2=731624&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/engine/SOAPTransportFactory.cpp (original)
+++ webservices/axis/trunk/c/src/engine/SOAPTransportFactory.cpp Mon Jan  5 09:11:06 2009
@@ -129,7 +129,7 @@
     if (pTpt)
     {
         pTpt->setProtocol(eProtocol);
-        if (AxisTrace::isTransportLoggingEnabled())
+        if (AxisTrace::isLoggingEnabled() && AxisTrace::isTransportLoggingEnabled())
             pTpt->enableTrace(AxisTrace::getLogFilePath().c_str(), AxisTrace::getLogFilter().c_str());
     }
     

Modified: webservices/axis/trunk/c/src/engine/XMLParserFactory.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/engine/XMLParserFactory.cpp?rev=731624&r1=731623&r2=731624&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/engine/XMLParserFactory.cpp (original)
+++ webservices/axis/trunk/c/src/engine/XMLParserFactory.cpp Mon Jan  5 09:11:06 2009
@@ -116,7 +116,7 @@
     
     if (pTpt)
     {
-        if (AxisTrace::isParserLoggingEnabled())
+        if (AxisTrace::isLoggingEnabled() && AxisTrace::isParserLoggingEnabled())
             pTpt->enableTrace(AxisTrace::getLogFilePath().c_str(), AxisTrace::getLogFilter().c_str());
     }
     

Modified: webservices/axis/trunk/c/src/transport/axis3/ChannelFactory.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/transport/axis3/ChannelFactory.cpp?rev=731624&r1=731623&r2=731624&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/ChannelFactory.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/ChannelFactory.cpp Mon Jan  5 09:11:06 2009
@@ -132,7 +132,7 @@
                 sCreate( &pChannel);
                 m_pChannel[iLibCount] = pChannel;
                 
-                if (AxisTrace::isTransportLoggingEnabled())
+                if (AxisTrace::isLoggingEnabled() && AxisTrace::isTransportLoggingEnabled())
                     pChannel->enableTrace(AxisTrace::getLogFilePath().c_str(), AxisTrace::getLogFilter().c_str());
             }
         }
@@ -268,7 +268,7 @@
         m_ChannelLibrary[iLibCount]->m_Create(&pChannel);
         m_pChannel[iLibCount] = pChannel;
         
-        if (AxisTrace::isTransportLoggingEnabled())
+        if (AxisTrace::isLoggingEnabled() && AxisTrace::isTransportLoggingEnabled())
             pChannel->enableTrace(AxisTrace::getLogFilePath().c_str(), AxisTrace::getLogFilter().c_str());
     }
     



Mime
View raw message