logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sunita desai" <sude...@cisco.com>
Subject RE: TOMCAT and LOG4J
Date Fri, 18 Oct 2002 07:44:01 GMT

Try adding the layout and ConversionPAttern something like like below
to your properties file.


log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

-----Original Message-----
From: Evaristo-Jose Camarero (ECE)
Sent: Friday, October 18, 2002 1:07 PM
To: 'log4j-user@jakarta.apache.org'
Subject: TOMCAT and LOG4J

Hi all:

I'm using tomcat 4.1.12 and log4j_1.2.5 library. Java 1.3.1_05 and RedHAt
I am trying to configure my webapp to log to a files, but I'm not able to do

I have some questions:

Is it needed to put the log4j_1.2.5.jar in WEB-INF/lib/ in the webapp or I
can assume that Tomcat supplies that library?

I put log4j.properties file in WEB-INF/classes/ in my web application.

When I start the application the file for logging is created but later is

I send you my log4j.properties.


Thank you very much,

	Evaristo José Camarero del Río
	Systems Engineer
	UMTS/GSM Systems Management

> Ericsson España, S.A.		Phone:	+34 91 339 4200
> Ombú, 3	 			Fax: 		+34 91 339 2538
> 28045 Madrid, Spain		E-mail: 	evaristo-jose.camarero@ece.ericsson.se

To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

View raw message