You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2009/01/05 18:11:06 UTC
svn commit: r731624 - in /webservices/axis/trunk/c/src:
engine/SOAPTransportFactory.cpp engine/XMLParserFactory.cpp
transport/axis3/ChannelFactory.cpp
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());
}