Re: Category.assert() disappointing

2001-07-09 Thread Endre Stølsvik
On Mon, 25 Jun 2001, Hansen, Richard wrote: | Maybe it is just misnamed? I have not used Category.assert(), but it seems | like it could be useful. Of course frameworks are often littered with | "useful" but rarely used code. I agree. I don't use it now, but it seems cool. But it's badly misname

Re: a question about the DailyRollingFileAppender

2001-07-09 Thread Kevin Steppe
Veronica, Under the current implementation the file is only copied to the new name (dogtest.log -> dogtest.log.2001-07-10) if the application is running at the time when the change should occur ie midnight. So if you stop the application before midnight and start it again the next day then it

a question about the DailyRollingFileAppender

2001-07-09 Thread $B=t(B
Dear Mr. I have a trouble about the setting of the datePattern option in DailyRollingFileAppender. I wrote the setting as follows: log4j.appender.D=org.apache.log4j.DailyRollingFileAppender log4j.appender.D.File=dogtest.log log4j.appender.D.DatePattern='.'-MM-

Specifying timezone for a PatternLayout

2001-07-09 Thread Chris R. Donnelly
Would it be possible to add the ability to specify the timezone for the timestamp printed out when using a PatternLayout? DateLayout (and TTCCLayout by inheritance) allow the timezone to be specified for the timestamp, but PatternLayout does not. Thanks, # Chris ___

Reload config props file in SilverStream

2001-07-09 Thread Bill Pfeiffer
I am just starting to play with Log4j on the SilverStream app server. I have the code to load the configuration from a properties file in an object that gets called on server startup: PropertyConfigurator.configure(sPathName); I then have code in a SilverStream test page (basically a serv

RE: How can I tell if the system has already been configured?

2001-07-09 Thread Christian Cryder
Hi guys, What I ende3d up doing was simply checking the runtime parameters to see if -Dlog4j.configuration had been passed in via the java command line...if it had, I don't reconfigure. If not, I do. Not sure if this is the best way to do it, but it certainly works for me. Thanks for the help,