st
specify the higher level (WARN for example) for struts, i.e. add
log4j.logger.org.apache.struts = WARN to your configuration file.
Yoav Shapira
Millennium ChemInformatics
-Original Message-----
From: Denis Avdic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 2:41 PM
To: Log4J Users Li
;trying to create
file...") to the console.
Yoav Shapira
Millennium ChemInformatics
-Original Message-----
From: Denis Avdic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 2:28 PM
To: Log4J Users List
Subject: Re: [NEWBIE] log4j setup problem?
Hrm.
Tomcat does have write access
the directory (WEB-INF/classes) in
which the log file needs to go?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Denis Avdic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 2:18 PM
To: Log4J Users List
Subject: Re: [NEWBIE] log4j setup problem?
If I change the path
If I change the path (by cutting out classes from the path, lets say) I
get this in my Catalina log:
log4j:ERROR Could not read configuration file
[/home/denis/src/resumeweb/WEB-INF/RMLog4j.properties]
If I have the classpath described below, then there is no error in
Catalina log;
Shapira, Y
Hello list,
This is, I am sure, a newbie problem, but I cannot figure out how to set
up my logger so it logs to a file.
I have a number of classes in my web app. I instantiate my logger in my
init servlet with:
PropertyConfigurator.configure(Constants.SITEPATH+"/WEB-INF/classes/RMLog4j.proper
Denis Avdic wrote:
> Hello,
>
> This is probably a very simple problem with a blindingly obvious
> solution but I am stumped:
>
> I am trying to use log4j in my developing environment which also relies
> on jUnit and Cactus for testing. Now, Cactus already uses log4j for
Hello,
This is probably a very simple problem with a blindingly obvious
solution but I am stumped:
I am trying to use log4j in my developing environment which also relies
on jUnit and Cactus for testing. Now, Cactus already uses log4j for its
own logging and I figured I can just add my own appen