logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérémie LOPEZ <...@mgn.net>
Subject RE: multiple VM on same RollingFileAppender
Date Wed, 17 Nov 2004 13:23:53 GMT
 

> -----Message d'origine-----
> De : jerome moliere [mailto:jmoliere@nerim.net] 
> Envoyé : mercredi 17 novembre 2004 10:48
> À : log4j-user@logging.apache.org
> Objet : Re: multiple VM on same RollingFileAppender
> 
> 
> > Hi all,
> >
> hi jeremie,
> > I've heard of problems with  previous versions of Log4J 
> when multiple 
> > VM (using the same configuration) were logging in the same 
> > RollingFileAppender,
> 
> humm how multiple vms could use the same object ?
> I guess that you mean that multiple VM use the same 
> configuration file THEN as a consequence use the SAME FILE!!!!

That's what I meant ; sorry for using this shortcut...

> > like loss of messages at roll time (I wasn't able to find 
> this problem 
> > in the bug database)...
> >
> > Does the problem remain? In other words, has someone some 
> experience 
> > of logging from multiple VM in the same 
> (Daily)RollingFileAppender and 
> > does it work well?
> >
> I don't think that this is a LOg4J problem, it's rather a 
> sharing resource problem on your OS ?

You're perfectly right... I wasn't considering the problem at this level...

> My advice would be not using this kind of confif but rather 
> use a SocketAppender to get a central point for 
> administration of different Java applications (chainsaw V2 is 
> wonderful moreover)!!!

Well, I need file logging, no socket, jdbc or else...
Maybe I will rather choose to have a file by VM, keeping a single
configuration...


BTW, thanks for replying...

> 
> HTH
> jerome
> 
> --
> Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003
> http://www.eyrolles.com/php.informatique/Ouvrages/ouvrage.php3
> ?ouv_ean13=9782212111941
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message