You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Kaushal Shriyan <ka...@gmail.com> on 2009/11/20 18:52:01 UTC

central logging server

Hi,

Is there a way to have a central log server using log4j ? Any step by
step guide to configure it.

Thanks,

Kaushal

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


Re: central logging server

Posted by Juha Laiho <Ju...@iki.fi>.
Don't know about step-by-step, but there seems to be a set of classes
within org.apache.log4j.net package which could be used to fulfill
that kind of requirement.

Have a look at the relevant part of API documentation, available at
http://logging.apache.org/log4j/1.2/apidocs/index.html

However, remember that you're now moving outside the regular "single
node, single process" log4j environment, and there's a number of new
things to take into account, such as:
- security - should logging access to the log server be restricted?
- confidentiality - should the log messages be protected from
   eavesdropping during transit?
- reliability - what to do upon network interruptions or log server
   outage?
... there could well be other issues, but these I could put down without
thinking too much. They're all issues that you just don't have on
a single machine, and issues for which you'll need answers for
designing the central server implementation.
-- 
..Juha

Kaushal Shriyan wrote:
> Hi,
> 
> Is there a way to have a central log server using log4j ? Any step by
> step guide to configure it.
> 
> Thanks,
> 
> Kaushal
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 


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