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 Pedro Salazar <pe...@ptinovacao.pt> on 2004/03/03 17:43:24 UTC

2 processes (=> different JVM) logging to the same file?

Greetings,

I intend to join the log for different processes in different JVM in the
same file. I don't know if that is possible due and what the problems
that may occur.

Anyone knows if that is possible and alternatives for that?

I thought also in syslog in case the file solution isn't possible. In
that case, the log format is maintained as it was for a simple file,
right?    

Thoughts and ideias would be very appreciated.

Regards,
Pedro Salazar.
-- 
PS
pedro-b-salazar_at_ptinovacao_dot_pt
PGP:0E129E31D803BC61


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


Re: 2 processes (=> different JVM) logging to the same file?

Posted by Pedro Salazar <pe...@ptinovacao.pt>.
On Wed, 2004-03-03 at 17:53, Preetham Kajekar wrote:
> I played arround with this long time back, but never really implemented it.
> The basic idea is that the processes log messages to a common log server 
> , which will then write these onto a file.
> If memory serves me right, SocketAppender is the appender to use and 
> then u use SocketServer to recieve the messages from multiple processes 
> and write them to file. Look up the java doc on this. I can try to dig 
> up more info on this if you cant find your way arround.
> 

I will look for it soon as possible (meanwhile I'm busy on other
stuffs).

thanks for the hint.
-- 
-PS


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


Re: 2 processes (=> different JVM) logging to the same file?

Posted by Preetham Kajekar <pr...@cisco.com>.
I played arround with this long time back, but never really implemented it.
The basic idea is that the processes log messages to a common log server 
, which will then write these onto a file.
If memory serves me right, SocketAppender is the appender to use and 
then u use SocketServer to recieve the messages from multiple processes 
and write them to file. Look up the java doc on this. I can try to dig 
up more info on this if you cant find your way arround.

Cheers,

~preetham

Pedro Salazar wrote:

> Greetings,
> 
> I intend to join the log for different processes in different JVM in the
> same file. I don't know if that is possible due and what the problems
> that may occur.
> 
> Anyone knows if that is possible and alternatives for that?
> 
> I thought also in syslog in case the file solution isn't possible. In
> that case, the log format is maintained as it was for a simple file,
> right?    
> 
> Thoughts and ideias would be very appreciated.
> 
> Regards,
> Pedro Salazar.


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