Re: Specify Log Folder path dynamically

2008-07-01 Thread Jacob Kjome
There are lots of references to doing this on the list.  I suggest you search.  In short, you can either add properties directlyto the Property configurator, if you manually configure Log4j, or set a Java System property java -Dlog.dir=/some/path/to/log/dir And in all cases, you refe

Specify Log Folder path dynamically

2008-07-01 Thread Dubois, Fabien
Hi everybody, I have a problem: I develop a web application, I want to create my log files in a Folder in the context like this: $CATALINA_HOME/webapps/mywebapp/ $LOG_FOLDER. I use my own FileAppender to create a log file every day which contains the date in the name file. It is working