some additional possibilities:

- use jdbc logging to a central server/database.
- use a socket appender to send the data to the central server.
- use the JMSappender to send the data to the central server....



Douglas E Wegscheid
Lead Technical Analyst, Whirlpool Corporation
(269)-923-5278

"A wrong note played hesitatingly is a wrong note. A wrong note played 
with conviction is interpretation."





iluxa86 <shor...@yandex.ru> 
07/15/2009 10:38 AM
Please respond to
"Log4J Users List" <log4j-user@logging.apache.org>


To
log4j-user@logging.apache.org
cc

Subject
Reliable logging via log4j and NFS







Good day,

I have the following task.
There are several server applications running on different hosts (Solaris
OS) in one subnet.
Each of them writes logs locally using log4j RollingFileAppender.
There is a task to create centralized logs storage of all these logs.
There are 2 main solutions that came to my mind.
1. Mount logs directory by NFS and write logs there.
2. Reconfigure log4j to send logs to syslogd

I am interested in 1st option.
But some questions appear.
How to provide reliability in case if nfs brakes (timeout or network 
issues)
There are 2 points:
1. All applications should not be affected by nfs crash.
2. Logs should not be lost in case of nfs crash.

To provide this i see variant:
-Write logs in 2 threads (locally and to nfs) and then periodically
synchronize them. (Question how? )
-Alternate failover way to save logs 
(e.g. in case of nfs crash write them locally and then copy them to nfs)
(Question how remains =)) )

Do you have any valueble ideas?

Thanks in advance,
Ilya
-- 
View this message in context: 
http://www.nabble.com/Reliable-logging-via-log4j-and-NFS-tp24499266p24499266.html

Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org


Reply via email to