On Sun, 6 Mar 2005 21:06:31 -0800, Sean Corfield <[EMAIL PROTECTED]> wrote: > On Sun, 06 Mar 2005 21:14:45 -0600, Nick Baker <[EMAIL PROTECTED]> wrote: > > I am really curious if anyone else cares to report how big their > > cfam-err.log files are? > > My JRun logs all rotate at 200k. > > -rw-r--r-- 1 scorfiel admin 172497 21 Jan 15:56 cf7b1-event.log > -rw-r--r-- 1 scorfiel admin 204732 12 Oct 23:02 cf7b1-event_1.log > -rw-r--r-- 1 scorfiel admin 201058 23 Feb 13:20 default-event.log > -rw-r--r-- 1 scorfiel admin 204776 30 Apr 2004 default-event_1.log > --
I picked up this snippet a long time back (Brandon Purcell's blog maybe?) to rotate my log files daily by tweaking the jrun.xml file with the below tags (found inside the <service class="jrunx.logger.LoggerService" name="LoggerService"> tag on roughly 147 depending on any edits made to the file previously) : <attribute name="filename">{jrun.rootdir}/logs/{jrun.server.name}/{date yyyyMMdd}_{log.level}_event.log</attribute> <attribute name="rotationSize">0k</attribute> <attribute name="rotationFiles">0</attribute> (Watch for wrapping, and there is an intentional space between the "date" and "yyyyMMdd" text value.) Knowing when a log file stops and starts outside of its raw size is very useful to me. Regards, Dave. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197672 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54