Thanks a ton...it worked..
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 14, 2008 11:17 AM To: axis-user@ws.apache.org Subject: RE: how to disable logging for the client api your rootLogger set to DEBUG level, you can change it to INFO OR you can explicitly set log level for org.apache.commons to INFO by adding following line log4j.logger.org.apache.commons=INFO good luck "Nath, Niraj" <Niraj.Nath@ From cns-inc.com> "Nath, Niraj" <[EMAIL PROTECTED]> To <axis-user@ws.apache.org> cc Subject 02/14/2008 RE: how to disable logging for the 10:52 AM client api Please respond to [EMAIL PROTECTED] .apache.org Our application uses log4j...I didn't try to modify our log4j setting... Currently it look like --- ## Overall Log4j level Setting #log4j.disable=DEBUG #log4j.disableOverride=false ## For Root # initialise root logger with level DEBUG and assign consoleApp log4j.rootLogger=DEBUG, consoleApp # add a ConsoleAppender to the logger BLAH log4j.appender.consoleApp=org.apache.log4j.ConsoleAppender # set set that layout to be SimpleLayout log4j.appender.consoleApp.layout=org.apache.log4j.PatternLayout # set that Conversation Pattern log4j.appender.consoleApp.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n # Specify the Class for fileApp #log4j.appender.fileApp=org.apache.log4j.FileAppender log4j.appender.fileApp=org.apache.log4j.RollingFileAppender log4j.appender.fileApp.Append = true #set the file for fileApp log4j.appender.fileApp.File={{ECAMS_BASE_PATH}}/websphere/config/logs/ecams #set the MAx file size for fileApp log4j.appender.fileApp.MaxFileSize=10240KB # Keep three backup file log4j.appender.fileApp.MaxBackupIndex=50 # set set that layout to be SimpleLayout log4j.appender.fileApp.layout=org.apache.log4j.PatternLayout # set set that Conversation Pattern log4j.appender.fileApp.layout.ConversionPattern=%-4r-[%t]-%-5 p-%c-%d{DATE}-%x- %m%n # Specify the Class for fileApp2 #log4j.appender.fileApp2=org.apache.log4j.FileAppender log4j.appender.fileApp2=org.apache.log4j.RollingFileAppender log4j.appender.fileApp2.Append = true #set the file for fileApp2 log4j.appender.fileApp2.File={{ECAMS_BASE_PATH}}/websphere/config/logs/ecamsRA #set the MAx file size for fileApp2 log4j.appender.fileApp2.MaxFileSize=10240KB # Keep three backup file log4j.appender.fileApp2.MaxBackupIndex=10 # set set that layout to be SimpleLayout log4j.appender.fileApp2.layout=org.apache.log4j.PatternLayout # set set that Conversation Pattern log4j.appender.fileApp2.layout.ConversionPattern=%-4r-[%t]-%-5 p-%c-%d{DATE}-%x- %m%n -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 14, 2008 10:44 AM To: axis-user@ws.apache.org Subject: Re: how to disable logging for the client api Hi What logger implementation are you using in your client side? Did you try changing the log level in your log properties. Thanks "Nath, Niraj" <Niraj.Nath@ From cns-inc.com> "Nath, Niraj" <[EMAIL PROTECTED]> To <axis-user@ws.apache.org> cc Subject 02/14/2008 how to disable logging for the 10:34 AM client api Please respond to [EMAIL PROTECTED] .apache.org Hi I'm using axis2 1.0 war distribution for some webservices hosted on my server(websphere 6.1). Besides these I also have some webservice client code ( outside axis2 war ) which uses axis2 ServiceClient api to call some axis web services hosted on another servers. To make the ServiceClient & associated api available to our client code we have taken all the jars from axis2.war/WEB-INF/lib, merged to create another jar out of that & kept that inside the ear (in the path via manifest file) ... Now when I use this client it generates lots of logs which I want to get rid of - log looks like -.... I want to disable all these but not sure how to do that ...Can anyone help me here ? =============================================================================================================================== [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.execute(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequest(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG httpclient.wire.header - >> "POST /axis2/services/ClaimsSearchByService HTTP/1.1[\r][\n]" [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[]) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[], int, int) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.methods.EntityEnclosingMethod - enter EntityEnclosingMethod.addRequestHeaders(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.methods.ExpectContinueMethod - enter ExpectContinueMethod.addRequestHeaders(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - Adding Host request header [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpState - enter HttpState.getCookies() [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.cookie.CookieSpec - enter CookieSpecBase.match(String, int, String, boolean, Cookie[]) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - enter HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.methods.EntityEnclosingMethod - enter EntityEnclosingMethod.addContentLengthRequestHeader(HttpState, HttpConnection) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.methods.EntityEnclosingMethod - enter EntityEnclosingMethod.getRequestContentLength() [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.methods.PostMethod - enter PostMethod.hasRequestContent() [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.methods.EntityEnclosingMethod - enter EntityEnclosingMethod.hasRequestContent() [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpMethodBase - HttpMethodBase.addRequestHeader(Header) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.methods.EntityEnclosingMethod - enter EntityEnclosingMethod.renerateRequestBody() [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG httpclient.wire.header - >> "SOAPAction: "getClaimsByCriteria"[\r][\n]" [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpConnection - enter HttpConnection.print(String) [2/13/08 16:33:01:093 EST] 00000025 SystemOut O 1535703 [WebContainer : 2] DEBUG org.apache.commons.httpclient.HttpConnection - enter HttpConnection.write(byte[]) Regards Niraj Nath CNSI Ph - 240 399 2104 [IMAGE] This electronic message contains information from CNSI, which may be company sensitive, proprietary, privileged or otherwise protected from disclosure. The information is intended to be used solely by the intended recipient(s). If you are not an intended recipient any review, disclosure, copying, distribution or use of this transmission or its contents is prohibited. If you have received this transmission in error, please notify the sender immediately and delete all copies of this message. (Embedded image moved to file: pic17673.jpg) Attachment(s) have been removed by Mustaqali Jafarali --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]