Hi everyone,
I'd like that classes running in a web application would log to a file whose
path is local to the absolute path where the web app is running. This means
that, named ${myWebApp} my web application, I'd like to define the FileAppender
file property to
${myWebApp}'s absolute path . I've tried doing this by creating a
ServletContextListener implementation and declaring in it a SystemProperty, but
it doesnt work so far: i mean, it works but not the very first time that the
web app rises, and this happens because class loader loads the log4j.jar before
the ContextListener had called,I presume. Any hints are appreciated
Ign Rome, Italy
___________________________________________________________________
Conto Arancio al 4% fino a fine 2006 - Zero spese, soldi sempre disponibili.
Aprilo subito
http://click.libero.it/ING
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]