0 Replies Latest reply on Jun 26, 2013 2:45 PM by MohtashimShaikh

    Axis2 dumping Debug msgs in Weblogic logs

    MohtashimShaikh


      Hi,

      I have axis2 with weblogic 10.3.6 and the weblogic logs are dumping a lot of axis debug messages like below.

       

      213215 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.apache.axis2.transport.TransportUtils username: oss.eai,  client id: 3270976000000,  API user: true,  database: myhost,  Server: myhost.acc.com - Found RequestResponseTransport returning isResponseWritten()
      213215 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.apache.axis2.transport.TransportUtils username: oss.eai,  client id: 3270976000000,  API user: true,  database: myhost,  Server: myhost.acc.com - Exiting deleteAttachments()
      213221 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.apache.axis2.transport.TransportUtils username: oss.eai,  client id: 3270976000000,  API user: true,  database: myhost,  Server: myhost.acc.com - Exiting deleteAttachments()

       

       

      Inorder to get rid of these debug messages I tried the below in vain

      JVM arguments: -Dlog4j.debug=true -Dweblogic.log.StdoutSeverity="Info" -Dweblogic.log.LoggerSeverity="Warning" -Dweblogic.log.LoggerSeverityProperties="org.apache.axis2=Warning;EJB=Info"  -Dlog4j.properties=/oss/tgi/bea/user_projects/domains/mydomain/config/log4j.properties"

       

       

      log4j.properties has been given the below entries:

      log4j.category.org.apache.commons.httpclient=INFO
      log4j.category.org.apache.commons=INFO
      log4j.category.org.apache.commons.digester=INFO
      log4j.category.org.apache.commons.httpclient=INFO
      log4j.category.org.apache.axis=INFO
      log4j.category.org.apache.struts=ERROR


      I also tried suppressing the Axis2 Debug messages in the weblogic logs by configuring filtering like below:

      Domain ->LogFilters->here I added log filter as AxisLogFilter Expression is (MESSAGE != 'Exiting deleteAttachments()')

      Added this log filter to the weblogic server under logging tab.

       

      Below are more expressions that I tried.

       

      (MESSAGE != '%Exiting deleteAttachments%')

      NOT(MESSAGE = 'Exiting deleteAttachments')

      NOT(MESSAGE LIKE 'Exiting deleteAttachments')

      NOT(MESSAGE = '%Exiting deleteAttachments%')

      NOT(MESSAGE LIKE '%Exiting deleteAttachments%')

       

      All these does not seem to help.

      Can you please suggest ?