[Resin-interest] how to limit large log file?

2008-05-27 Thread askxuefeng
Hi all
  I found resin 3.1.5 generate large log file under
$RESIN_HOME/log/jvm-runtime.log, is there any setting to limit its size?
Thanks!
 
  Michael
 
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] how to limit large log file?

2008-05-27 Thread Scott Ferguson


On May 27, 2008, at 6:30 AM, askxuefeng wrote:


Hi all
  I found resin 3.1.5 generate large log file under $RESIN_HOME/log/ 
jvm-runtime.log, is there any setting to limit its size? Thanks!


We're adding a rotation capability for 3.2.x.

For 3.1.5, you can set a stdout-log and stderr-log in your  
resin.conf to a different file to enable log rotation.  Since jvm- 
runtime is basically System.out and System.err, you can reduce the  
size of jvm-runtime.log to essentially zero by redirecting stdout and  
stderr.


-- Scott



  Michael

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest