From: Mike S. <m...@pe...> - 2006-10-11 18:23:20
|
On Wed, 11 Oct 2006, Judd Taylor wrote: > I'm thinking about using log4perl as an alternative to my current object > logging system, but I'm not sure how it will handle a situation where I > need to append to a master logfile from several processes at the same > time. Log::Log4perl::Appender::Synchronized to the rescue: http://log4perl.sourceforge.net/d/Log/Log4perl/FAQ.html#23804 -- Mike Mike Schilli m...@pe... > I need to append to this log from several programs, some of which are > multi-threaded (fork) servers, as well as from several of the same > programs at the same time. Avoiding conflicts where messages are lost, > and atomicity are pretty critical. I also want to centralize the > configuration for all clients in one place. > > Is this going to be easy with log4perl? What relevant docs should I be > looking at first? > > I need something like this running pretty shortly, and my only > alternative would be to write a forking Net::Server thing to handle the > incoming requests. Getting something like that reliable will probably > not be a quick thing... > > Thanks, > Judd > > > > > -- > ____________________________ > Judd Taylor > Software Engineer > > Orbital Systems, Ltd. > 8304 Esters Blvd, Suite 870 > Irving, TX 75063-2209 > > ju...@or... > (469) 442-1767 x127 > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > log4perl-devel mailing list > log...@li... > https://lists.sourceforge.net/lists/listinfo/log4perl-devel > |