Log retention days in jetty-logging.xml

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Log retention days in jetty-logging.xml

natr_2002
This post has NOT been accepted by the mailing list yet.
Hi,

How can we change the days we save the logs, we need to store only the logs for last 30 days only.
I was looking at jetty-logging.xml , is this the parameter to change

 <New class="org.eclipse.jetty.util.RolloverFileOutputStream">
          <Arg><Property name="jetty.logs" default="./logs"/>/yyyy_mm_dd.stderrout.log</Arg>
          <Arg type="boolean">false</Arg>
          <Arg type="int">90</Arg>

Should i change it from 90 to 30, please advise.


Thanks