Hello,
I would like to ask you how do I change my jetty.xml file to set daily log rotation.
Here is my jetty.xml in './conf' folder.
The log rorate work only first 2nd day from restart the service.
i.e. only two request log file exist in log folder. (1st day, 2nd day ~ now)
Please share your setting property, if you know how to set.
`
<Get name="ThreadPool">
<Set name="minThreads">64</Set>
<Set name="maxThreads">1024</Set>
</Get>
<Ref id="Handlers">
<Call name="addHandler">
<Arg>
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
<Set name="requestLog">
<New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
<Set name="filename">../logs/yyyy_mm_dd.request.log</Set>
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
<Set name="retainDays">2</Set>
<Set name="append">true</Set>
</New>
</Set>
</New>
</Arg>
</Call>
</Ref>
<!--Ref id="SocketConnector">
<Set name="acceptQueueSize">256</Set>
</Ref-->
`