Re: Multiple JVMs writing to one log file

2001-06-26 Thread Benjamin Russell Stocum
Just a thought... If multiple JVM's wrote to the same log file would that be thread safe? How would you lock a class cross JVM? I suppose you could chmod it.. but then I think you would still have a problem with log times not being in order... What I see is more like a log file buffer that woul

Re: DailyRollingFileAppender

2001-06-26 Thread Benjamin Russell Stocum
If you log to one file then you can write shell scripts or other programs to point to the "current" file when you are looking at the most recent logging information. If you add the YYY-MM-DD you add more complexity to this then needed. Since the step is already there I would keep it. Perhaps

Re: Category.assert() disappointing

2001-06-25 Thread Benjamin Russell Stocum
ides in SDK 1.4 Java is adding a language assertion mechanism. > > Rick Hansen > > > -Original Message- > > From: Benjamin Russell Stocum [mailto:[EMAIL PROTECTED]] > > Sent: Monday, June 25, 2001 1:43 PM > > To: LOG4J Users Mailing List > > Subject: Re: Category.assert

Re: Category.assert() disappointing

2001-06-25 Thread Benjamin Russell Stocum
Has anyone looked at JUnit? This is where you want to get all your asserts from :) Duplication is not necessary if its already done, and done right at that I might add. -Ben Stocum begin:vcard n:Stocum;Ben tel;home:442-1316 tel;work:383-3510 x-mozilla-html:FALSE url:http://www.paychex.com org

Re: A few questions - tips for easy debugging?

2001-06-25 Thread Benjamin Russell Stocum
I am also new to log4j, but I believe I can answer some of your questions. If I am wrong, someone correct me :) First are you missing R from "log4j.rootCategory=debug, logfile" ? Q1: Answer: are you working with servlets? If so I thought it was required that you reinitialize Tomcat because of

can anyone tell me when java1.4 will be released?

2001-06-19 Thread Benjamin Russell Stocum
I cant seem to locate the information quick enough. thanks, -Ben begin:vcard n:Stocum;Ben tel;home:442-1316 tel;work:383-3510 x-mozilla-html:FALSE url:http://www.paychex.com org:Paychex, Inc;Enterprise Development adr:;;911 Panorama Trail S.;Rochester;NY;14625-2396; version:2.1 email;internet:

what happens when you include a file that has log4j logging in one that does not?

2001-06-15 Thread Benjamin Russell Stocum
Class definitions are included at the end of the email: Right now I am getting an error message from log4j that is stating:  (retyped from screen) log4j:ERROR No appenders could be found for category (bar) log4j:ERROR Please initialize the log4j system properly And if I uncomment the System.out.