From: Kevin G. <ke...@go...> - 2002-11-18 19:35:59
|
Funny you should ask, Mark Pfeiffer *just* implemented and put on CPAN M/MA/MARKPF/Log-Dispatch-FileRotate-1.03.tar.gz Check it out, it'll take care of you. The java-style options for the config file will be available in the next release of log4perl, until then you can use with native options like this: log4j.appender.FILE=Log::Dispatch::FileRotate log4j.appender.FILE.filename=myerrs.log log4j.appender.FILE.mode=append log4j.appender.FILE.size=20000 log4j.appender.FILE.max=5 log4j.appender.FILE.layout=org.apache.log4j.SimpleLayout Januski, Ken wrote: > Hi, > > I'm experimenting with log4perl after having used log4j. It's doing exactly > what it should except that I can't find a way to limit the size of files > and number of rotations as I do in log4j. Can someone tell me if something > similar is available in log4perl? > > Thanks for any help. Please respond to me personally since I'm not on list > and only got to it via the log4perl article on www.perl.com. > > Thanks, > > Ken > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > log4perl-devel mailing list > log...@li... > https://lists.sourceforge.net/lists/listinfo/log4perl-devel -- Happy Trails . . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510) 525-5217 |