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" <[EMAIL PROTECTED]>
To: "Apache Torque Users List" <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> To: "Apache Torque Users List" <[EMAIL PROTECTED]>
> 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]
> > 株式会社 レーザーフィッシュ・ジャパン
> > [EMAIL PROTECTED]
> > Tel:03-5436-9980 Fax:03-5436-9126
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to