L PROTECTED]
Subject: Re: Problem Using Log4J and Commons Logging with Struts
Phillip Qin wrote:
> If I only use log4j, jar has to be placed in my app's WEB-INF/lib. Don't
> know why it is in a different directory if commons-logging and log4j work
> together.
Just because
Phillip Qin wrote:
> If I only use log4j, jar has to be placed in my app's WEB-INF/lib. Don't
> know why it is in a different directory if commons-logging and log4j work
> together.
Just because two libraries use each other's classes doesn't mean
their classes (or jars) need to be in the same dir
lto:[EMAIL PROTECTED]]
Sent: December 28, 2002 12:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem Using Log4J and Commons Logging with Struts
Eddie Bush wrote:
> Add two files to your WEB-INF/classes directory:
[...]
> That should fix things, I believe. The commons-logging package
>
It is a bug in JRUN4.0 where you have to place log4j jar file in servers/lib
directory
-D
- Original Message -
From: "Paul Hodgetts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 9:10 AM
Subject: Re: Problem Using Log4J and Commo
Eddie Bush wrote:
> Add two files to your WEB-INF/classes directory:
[...]
> That should fix things, I believe. The commons-logging package
> is going to expect that you want to use Log4J if you have the
> Log4J JAR in the classpath (ie your WEB-INF/lib directory).
> It's not going to "work" corr
On Sat, 2002-12-28 at 08:29, Paul Hodgetts, Agile Logic wrote:
> Using the latest nightly build from 2002-12-27, the latest
> Commons Logging nightly build from 2002-12-27, and Log4J
> 1.2.7...
>
> I have Common Logging configured to use the SimpleLog, and
> everything is working fine, with both m
: Problem Using Log4J and Commons Logging with Struts
Add two files to your WEB-INF/classes directory:
commons-logging.properties <==
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Lo
g4jFactory
log4j.propert
Add two files to your WEB-INF/classes directory:
commons-logging.properties <==
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory
log4j.properties <===
# Set root logger level to DEBUG and its only ap
8 matches
Mail list logo