Thanks Jake. I suspect there is a threading problem in the app that is
causing this issue. Your clarification that is not a problem already
encountered in log4j package helps a lot. Thanks,
Cristian Jansenson
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesda
On Jan 18, 2007, at 11:06 AM, James Stauffer wrote:
Could the configure method be changed to return a boolean indicating
sucess? If someone detected that configuration failed, would log4j be
in an undefined state so that configuring with another file might not
produce the desired results?
I
Hi,
I am using HTMLLayout and logging into an html file.
Whenever the server restarts, it will continue logging into the same
previous html file.
I notice that the whole html header is appended into the html file again
because of the getHeader() in HTMLLayout class.
Is there anyway to avoid this
Could the configure method be changed to return a boolean indicating
sucess? If someone detected that configuration failed, would log4j be
in an undefined state so that configuring with another file might not
produce the desired results?
One way to detect config problems would be to run with -Dl
On 1/18/07, Marcel Gołuński <[EMAIL PROTECTED]> wrote:
Is there any other way (easier, faster) to determine that loggers and
appenders were created and attached succesfully?
Its a pity that log4j does not support exceptions, but i
understand the
"performance issue", and think that it is con
I believe the reason that log4j configuration doesn't thow exceptions
is that normally logging isn't the core reason for the program and a
problem with logging shouldn't stop the program.
If you look through the API I believe you will find methods to obtain
attached appenders so you could verify
Search the archive for logging to one file per thread.
On 1/18/07, Rudi <[EMAIL PROTECTED]> wrote:
Hello,
I have a hand coded server which handle multiple sessions at one time (of
course, its a server after all). Each session would be handled by dedicated
thread. It is a requirement that incomi
Hello.
I made a little research before posting here. And i didn't find any
interesting answers.
Major question:
(from log4j wiki's FAQ - not answered
(http://wiki.apache.org/logging-log4j/FrequentlyAskedQuestions) )
"How can I get notified of errors dur