db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Vatkov" <bvat...@globaltech-bg.com>
Subject Re: Log4J Problem
Date Thu, 05 Feb 2004 15:10:40 GMT
Hi,

insert these lines:

# Included so to remove log4j error when building target 'main' using
'build-torque.xml'
log4j.appender.org.apache.torque.engine = org.apache.log4j.ConsoleAppender
log4j.appender.org.apache.torque.engine.layout =
org.apache.log4j.PatternLayout
log4j.appender.org.apache.torque.engine.layout.conversionPattern = %d [%t]
%-5p %c - %m%n

into file:

torque-gen-3.1/lib/torque-gen-3.1.jar/log4j.properties

(it is inside a jar file)

Regards,
Bogdan

----- Original Message -----
From: "Steffen Mueller" <torque@mueller.ca>
To: <torque-user@db.apache.org>
Sent: Thursday, February 05, 2004 15:54
Subject: Log4J Problem


> Hi,
>
> I always get those Log4J errors with the Torque standard configuration.
Is
> there any way to fix this?
>
> log4j:WARN No appenders could be found for logger
> (org.apache.torque.TorqueInstance).
> log4j:WARN Please initialize the log4j system properly.
>
> Thanks!
>
> Steffen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message