You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by "GANDHIRAJAN,AYYAPPAN (HP-India,ex2)" <ay...@hp.com> on 2004/03/16 12:18:58 UTC
log4j problem
Hello friends,
I am using Apache XML security for signature verification in my application.
The scenario is like this. The end client will send the signed request
request to the webservice, wherein I do carry out the signature verification
of the XML request message. If verified successfully, the end client will be
given access. Otherwise denied.
The above mentioned functionality works very fine. But I am facing a strange
problem regarding log4j, which comes with apache xml security. For debugging
purpose, the debug log messages are logged by my application in a file
called debug.log. Unfortunately, these log messages are also logged in
log.txt, which is created under %bea_home%\weblogic8.1\server\bin. This file
keeps growing as the application runs in the weblogic server.
I was trying to find any log.txt in the weblogic configuration. But I
couldn't find such one. But I could see few lines in config.xml present in
the jar file.
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<!--
http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/xml/DOMConfigurato
r.html -->
<appender name="LOGTXT" class="org.apache.log4j.FileAppender">
<param name="File" value="log.txt" />
<!--
<param name="File" value="System.out" />
-->
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p %C{1}:%L -
%m\n"/>
<!--
<param name="ConversionPattern" value="%d %-5p %C{10}:%-4L -
%m\n"/>
-->
</layout>
</appender>
////
Have any of you faced this problem?
Can someone please enlighten me in this regard?
Thanks & Regards,
Ayyappan Gandhirajan
---------------------------------------------
Office: 91.80.2225.1554 Extn 1472
Mobile: 91.94483.14969
E-Mail: ayyappan.gandhirajan@hp.com
-----------------------------------------------