> -----Message d'origine----- > De : jerome moliere [mailto:[EMAIL PROTECTED] > Envoy� : mercredi 17 novembre 2004 10:48 > � : [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
