db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <Fisc...@seitenbau.net>
Subject RE: Don't get Torque's loggin to work
Date Tue, 16 Nov 2004 10:49:23 GMT






Hi Daniel,

log4j has also a property configurator.
see org.apache.log4j.PropertyConfigurator.configure(String configFilename)
This should be what you want.

  Thomas

"Vitzethum, Daniel" <Daniel.Vitzethum@gigatronik.com> schrieb am 16.11.2004
11:41:53:

> Hello again,
>
> Thomas Fischer wrote:
> > Sorry if I point out the obvious: (...)
>
> no need to apologise! Sometimes it is the obvious that you (in this
> case: I) don't see ;-)
>
> A short intermediate result:
>
> > Do you have log4j.jar in your runtime classpath? If yes, did you try
> > to create log messages "by hand",  i.e. to fetch a log4j logger and
> > write log messages to it, and see what happens ?
>
> I managed to get some output by adding the log4j.jar to my classpath
> and calling log4j's "BasicConfigurator.configure()", which does the
> basic configuration, but not from the property file I wish. Anyhow...
>
> As I don't have too much time to solve this by now, I will come back...
> this is better than nothing!
>
>
> Thank you for the quick answer,
>
> Daniel
>
> ---------------------------------------------------------------------
> 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