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" <[EMAIL PROTECTED]> 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: [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