Greetings,
I'm trying to use the log4j (XML) and I already built a sample from a
existing one, but I still have a few problems. My environment are
servlets in a web application (tomcat).
1-I have an <appender> named "A" (FileAppender), and I want to put it in
debug level. So, I set the filter to this options:
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="DEBUG" />
<param name="LevelMax" value="FATAL" />
<param name="AcceptOnMatch" value="true" />
</filter>
Is working, but when I deploy my web application or restart tomcat I saw
a big list of plenty other debug messages related to
org.apache.commons.logging and others (it stays like that about 1 minute
or more in printing debug information). Can't I debug only my
Appender/project?
2-I have my appender output to a file, but it appears that when I put
relative path, it doesn't create any file (and I already search my
filesystem). It only works when I put a absolute filename. Where it
should created the log file by default?
<param name="File" value="mylog.log" />
thanks,
Pedro Salazar.
--
PS
[EMAIL PROTECTED]
PGP:0E129E31D803BC61
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]