Dear all :
I know there are trainsient variables in LoggingEvent but I tried serializing
and deserializing to file.
Only first LoggingEvent is deserialized and after that I get
java.io.StreamCorruptedException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1326)
Dear all :
Is it possible on windows ??? SocketAppender... writes to socket ~~AND~~ also
gives Exception ??
/// Code piece
} catch(IOException e) {
//oos = null;
isException = true;
LogLog.warn("Detected problem with co
http://mail-archives.apache.org/mod_mbox/logging-log4j-user/200306.mbox/%3c20030618225626.85221.qm...@web40612.mail.yahoo.com%3e
Dear Scott :
I came across your post. Is ur FailioverErrorHandler Apache type Open Source.
Yes FallbackHandler seems to lose message with primary.
How did u send Loggi
Dear all :
How do u configure "Multiple Error Handlers" ..
I write to SocketAppender ( NewSocketappender ) but if it fails I want it to go
to multiple Files based on loggers.
This code does not give error while loading but does not write to fallback_*
files as backup.
I understand log4j schema
Dear all :
Does Fallback Handler work with SocketAppender. It works fine if I use
FileAppender as Primary appender.
Question ) Which file does LogLog.debug("") gets written ??? How to run to
see all these messages of log4j
Chand
-Original Message-----
From: Chandresh Tur
Dear all :
I use bit modified version of SocketAppender ( NewSocketAppender ); and
FileAppender ( NewFileAppender ).
Question 1 ) Why is Fallback error not working ... is there something wrong in
the file
Question 2 ) I want fallback handler for each loggerDatabase;
ChannelGatewayLogs; Balan
-Original Message-
From: alekoc [mailto:ale4349...@mail.ru]
Sent: Wednesday, February 25, 2009 2:09 AM
To: log4j-user@logging.apache.org
Subject: Re: One .log file for two different applications
Thank you, Jacob
I thought Log4j is reentrant, but it is not. If so, everything is clear.
Ye
Dear all :
We have requirement that all logs should be written.
If someone deletes the files; No exception is thrown. We use
DailyRollyingFileAppender.
Can some one plz guide me on the issue.
What I noticed is QuietWriter.write method does not throw IOexception. Problem
may be due to unix. BUT