logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhijat Thakur" <atha...@bdnacorp.com>
Subject Logging Centrally
Date Thu, 04 Apr 2002 20:20:42 GMT

I did send this question on users list but did not get an answer so
thats why i am sending it on developers list. We have a distributed
system and use Log4J to do all our logging to files. Our requirement is
that we want to log to a central machine. The two scenarios we have are

1) Either use Log4J to log to syslog of a centralized machine.
2) Log to database.

In syslog all specification of files(appenders) is done in
/etc/syslog.conf. All the file management features like appenders, we
use are of syslog. So what do i specify in my properties.xml file to
load to log4j since i am not associating an appender with a category any
more or do i associate SyslogAppender with  Category. I am not very
clear as to how logging to syslog would work.
In any case how would my /etc/syslog.conf look like for my log messages
comming from Log4J.

If anybody has any idea or opinion on the above two logging scenarios
that we have i would really appreciate it.



To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>

View raw message