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
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
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
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
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
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:
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.