This won't help for the admin-xxx.log files, but for your own logging I highly recommend Apache Jakarta Log4J. It has all kinds of features including the ability to turn on/off debug logging for the entire app or just a specific list of classes. You can also tailor the look of your logs and automatically include class, function, line number without putting these in your log statement. Of course you can set a rotation size and how many rotated out logs you want to keep. We switched to using log4j many months ago, eliminating the need to comment/uncomment debug logging. Note that if you do include class,function,line number info, log4j gets this information by doing a printStackTrace() which can really slow down your processing. (This happens without your knowledge unless you study its code or a profiler's output.) No real problem thouqh -- turning of the debugging stops this logging (of the cat.debug() statements). Note the debug statements are still in there, they are called but immediately return having an insignificant impact on processiing time. http://jakarta.apache.org/log4j/docs/ <- docs and download
I'm still using JRun 3.0 sp2a, so ignore all this if JRun 3.1 offers a better solution. Mark -----Original Message----- From: Jeff Dingle [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 3:38 PM To: JRun-Talk Subject: log file rotation hi does anyone know how to rotate log files when they reach a certian size my default out gets too big and is unmanageable ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
