Once again me !

Forgive me - i found the solution looking through older mails. I'am using
var substitution now like ${webapp.home}....

thanx Horst

-----Ursprüngliche Nachricht-----
Von: Gaussmann, Horst [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 20. August 2001 10:34
An: '[EMAIL PROTECTED]'
Betreff: Problem to configure relative pathes using DOMConfigurator

Hello to you!

I'am currently trying log4j and find it very useful. 

But there is one problem left.

I using log4j inside of tomcat with a webapplication and i want to configure
the file location 
of a FileAppender relative to my webapplication path. So i tried to
configure all parameters in a xml file - using DOMConfigurator to load the
information. After that i patched the file location ( using setFile(),
activateOptions() ) to be relative to my webapplication path.

The Problem is that the DOMConfiguration activates the xml configuration
directly during configuration loading.

Is it possible to disable this direct activation or disable a appender first
until i have patched the information for the file ? 

thanx horst

---------------------------------------------------------------------
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