RE: DailyRollingAppender - How does it know when to rollover?

2009-05-05 Thread Marc Farrow
Yes, this is what I am wanting. The original log file was created in April and now when items are written to file the log file still has not been rolled over. Since the application is writing to the specified log file, then wouldn't that mean that these properties posted would be the ones being

RE: DailyRollingAppender - How does it know when to rollover?

2009-05-05 Thread Marc Farrow
-May-05 13:15:08.601 - USERNAME published pdfFile.pdf from c:/webstatic/source to TMP0. INFO 2009-May-05 13:15:08.602 - USERNAME published pdfFile2.pdf from c:/webstatic/source to TMP0. Marc Farrow wrote: > > Yes, this is what I am wanting. > > The original log file was created

Re: specify the relative directory to log

2009-05-05 Thread Marc Farrow
I am fairly new to LOG4J, but you can set up a Properties object in your application and use that to initialize the LOG4J engine. Here is a small snippet of code to get you started. So with this method, you can use any logic you need to specify the filename. String myTempFirDir = "..."; //logi

Re: specify the relative directory to log

2009-05-06 Thread Marc Farrow
I am not sure what the problem is, because the example I posted was totally in the program and not in a properties file. Luca Ferrari wrote: > > On Tuesday 05 May 2009 08:15:38 pm Marc Farrow's cat walking on the > keyboard > wrote: >> I am fairly new to LOG4J, but you can set up a Properties

Re: specify the relative directory to log

2009-05-06 Thread Marc Farrow
You will have to read the documentation and see how stuff is loaded and whether or not it is possible. I remember seeing a page that specifically listed the order in which LOG4J tries to search for configuration files. So you MIGHT be able to do this. Allow LOG4J to load the configuration file

RE: DailyRollingAppender - How does it know when to rollover?

2009-05-11 Thread Marc Farrow
This is a fairly simple question. Does anyone that maintains or create LOG4J read these posts anymore? Thanks. -- View this message in context: http://www.nabble.com/DailyRollingAppender---How-does-it-know-when-to-rollover--tp23390773p23481523.html Sent from the Log4j - Users mailing list arc

Re: DailyRollingAppender - How does it know when to rollover?

2009-05-11 Thread Marc Farrow
vent); >} > > It tries it's best to continue logging until next roll over period. > > Paul > > On 11/05/2009, at 9:31 PM, Marc Farrow wrote: > >> >> This is a fairly simple question. Does anyone that maintains or >> create LOG4J >> read t

RE: DailyRollingAppender - How does it know when to rollover?

2009-05-11 Thread Marc Farrow
iment with a smaller rollover time (daily or hourly)? Just to make > sure that DailyRollingAppender isn't somehow borked in your combination of > OS / app server / application. > > -----Original Message- > From: Marc Farrow [mailto:marc.far...@gmail.com] > Sent: Mo

RE: DailyRollingAppender - How does it know when to rollover?

2009-05-19 Thread Marc Farrow
:mm:ss.SSS} - %m%n log4j.appender.R.ImmediateFlush=true log4j.logger.com.company.myfile=INFO Anyone have any suggestions? Thanks. Marc Marc Farrow wrote: > > I haven't done this because my brain is too one-dimensional today. Great > suggestion. > > Thanks. > >

RE: DailyRollingAppender - How does it know when to rollover?

2009-05-19 Thread Marc Farrow
O:"? > > And are you sure the user the application runs under has sufficient access > to create/rename files in whichever directory it is attempting to write > to? > > -----Original Message- > From: Marc Farrow [mailto:marc.far...@gmail.com] > Se