Re: Programatically set appenders

2007-10-04 Thread Daniel Rossi
Aparantly in eclipse empty directories get created with this code but running via command line, the empty directories cause a file not found error as its trying to append to a file. Any ideas there ? On 04/10/2007, at 7:23 PM, Daniel Rossi wrote: Hi there, im in a bit of a dilemma at the

Programatically set appenders

2007-10-04 Thread Daniel Rossi
Hi there, im in a bit of a dilemma at the moment. Im running a spring based web application and id like to dynamically set appenders / log files for each context path on each access to the webapp. The problem is this bit of code works however the header is created each time the class is run

Re: log4j alpha

2007-09-02 Thread Daniel Rossi
pender name="TS11-APP" class="org.apache.log4j.rolling.RollingFileAppender"> class="org.apache.log4j.rolling.TimeBasedRollingPolicy">

log4j alpha

2007-09-02 Thread Daniel Rossi
Hi there, ive been developing upon log4j alpha 1.3 for quite a while to use some new features. I believe it is now a dead branch. What am i suppose to be using, I need the new org.apache.log4j.rolling.RollingFileAppender package and the rolling policy for a project im working on which requi