Hi
My scenario is that I am running a webapp consisting of JSP pages and Java
classes. I have run this under WebSphere 5.x and Tomcat 4.1.x. I have
overridden the Logger class in the same manner as in the Log4J example
subclass/MyLogger.java. This allows per-thread logging levels to be altered
at
I was wondering if Log4J will allow me to do the following:
configure a RollingFileAppender that logs standard output.
configure a RollingFileAppender that logs info and warning output.
configure a RollingFileAppender that logs error level output.
have a single logger that will use one of the
OK, I managed to work this out myself...
log4j.rootLogger=debug, A
log4j.logger.Application=debug, ApplicationA
log4j.logger.Forms=debug, FormsA
Standard Output
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
Thanks. I have Chainsaw v1. If you let me know how to access the V2
software I can give it a try. If the new version includes code for loading
a remote XML file via a standard URL and a static factory method to start
Chainsaw I think that might be beneficial.
Dan
On Thu, 2003-11-20 at 22:51, Jones, Marty B. wrote:
I was wondering if Log4J will allow me to do the following:
configure a RollingFileAppender that logs standard output.
configure a RollingFileAppender that logs info and warning output.
configure a RollingFileAppender that logs error level
On Fri, 2003-11-21 at 05:16, Daniel J Mauer wrote:
Thanks. I have Chainsaw v1. If you let me know how to access the V2
software I can give it a try. If the new version includes code for loading
a remote XML file via a standard URL and a static factory method to start
Chainsaw I think that
Eric,
There are some filter classes in the log4j-sandbox cvs that you might want
to look at.
http://cvs.apache.org/viewcvs/jakarta-log4j-sandbox/src/java/org/apache/log4
j/filter/
MatchFilterBase.java is the base class for most of them and it allows
configuration for OR and AND type filter