You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Hassan Abolhassani <Ha...@razorfish.co.jp> on 2004/02/04 13:49:22 UTC
Log4j error message
Hello,
I get following message when I try to run Torque.
log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine
I see there is not such a key defined in Torque.properties.
Can anybody tell me what should be defined so that log4j gets correct
configuration.
Best Regards,
Hassan Abolhassani
___
Razorfish Japan, Inc.
アボルハッサニ ハッサン Hassan Abolhassani [Technology network]
株式会社 レーザーフィッシュ・ジャパン
Hassan.Abolhassani@razorfish.co.jp
Tel:03-5436-9980 Fax:03-5436-9126
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
Re: Log4j error message
Posted by Bogdan Vatkov <bv...@globaltech-bg.com>.
Hi,
I have tried this too, but placing these lines in the
'log4j.properties' in the 'torque-gen' directory
does not solve the problem
and I have inserted the lines inside the file
torque-gen-3.1/lib/torque-gen-3.1.jar/log4j.properties
and then the errors disapeared
Bogdan
----- Original Message -----
From: "coluf" <co...@hotmail.com>
To: "Apache Torque Users List" <to...@db.apache.org>
Sent: Thursday, February 05, 2004 00:21
Subject: Re: Log4j error message
> Hi
>
> I added the following lines to the file 'log4j.properties' in the
'torque-gen' directory. It makes the error go away, however, I did not look
for the cause. ;-)
>
>
> # 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
>
>
>
>
> ----- Original Message -----
> From: "Hassan Abolhassani" <Ha...@razorfish.co.jp>
> To: "Apache Torque Users List" <to...@db.apache.org>
> Sent: Wednesday, February 04, 2004 11:49 PM
> Subject: Log4j error message
>
>
> > Hello,
> >
> > I get following message when I try to run Torque.
> >
> > log4j:ERROR Could not find value for key
> > log4j.appender.org.apache.torque.engine
> >
> > I see there is not such a key defined in Torque.properties.
> >
> > Can anybody tell me what should be defined so that log4j gets correct
> > configuration.
> >
> > Best Regards,
> > Hassan Abolhassani
> >
> > ___
> >
> > Razorfish Japan, Inc.
> >
> > アボルハッサニ ハッサン Hassan Abolhassani [Technology network]
> > 株式会社 レーザーフィッシュ・ジャパン
> > Hassan.Abolhassani@razorfish.co.jp
> > Tel:03-5436-9980 Fax:03-5436-9126
> >
> >
> > ---------------------------------------------------------------------
> > 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
Re: Log4j error message
Posted by coluf <co...@hotmail.com>.
Hi
I added the following lines to the file 'log4j.properties' in the 'torque-gen' directory. It makes the error go away, however, I did not look for the cause. ;-)
# 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
----- Original Message -----
From: "Hassan Abolhassani" <Ha...@razorfish.co.jp>
To: "Apache Torque Users List" <to...@db.apache.org>
Sent: Wednesday, February 04, 2004 11:49 PM
Subject: Log4j error message
> Hello,
>
> I get following message when I try to run Torque.
>
> log4j:ERROR Could not find value for key
> log4j.appender.org.apache.torque.engine
>
> I see there is not such a key defined in Torque.properties.
>
> Can anybody tell me what should be defined so that log4j gets correct
> configuration.
>
> Best Regards,
> Hassan Abolhassani
>
> ___
>
> Razorfish Japan, Inc.
>
> アボルハッサニ ハッサン Hassan Abolhassani [Technology network]
> 株式会社 レーザーフィッシュ・ジャパン
> Hassan.Abolhassani@razorfish.co.jp
> Tel:03-5436-9980 Fax:03-5436-9126
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
>