<div dir="ltr"><div><div><div><div>Hello.<br><br></div><div>I'm having some strange behaviour with <span style="font-family:courier new,monospace">ch.qos.logback.core.rolling.TimeBasedRollingPolicy</span>.<br><br></div>
<div>I have the same war file deployed in two servers, but in one of them the logs of the day are lost when rolling ... I'm rolling daily at midnight.<br></div><div><br>The modification date of the files in the server with the problem (03:10) coincides with a maintenance job which restarts the webserver.<br>
</div><div><br></div><div>Here is a summary of the files involved:<br></div><div><br>Server where the error occurs:<br><span style="font-family:courier new,monospace">-rw-r--r-- 1 webservd webservd 142 Feb 8 03:10 file.2014-02-07.log<br>
-rw-r--r-- 1 webservd webservd 261 Feb 9 03:10 file.2014-02-08.log<br>-rw-r--r-- 1 webservd webservd 2.5K Feb 10 03:10 file.2014-02-09.log<br>-rw-r--r-- 1 webservd webservd 261 Feb 11 03:10 file.2014-02-10.log<br>
-rw-r--r-- 1 webservd webservd 1004K Feb 11 12:40 file.log</span><br><br><br></div>Server where it works ok:<br><span style="font-family:courier new,monospace">-rw-r--r-- 1 webservd webservd 6.7M Feb 7 20:36 file.2014-02-07.log<br>
-rw-r--r-- 1 webservd webservd 41K Feb 8 12:10 file.2014-02-08.log<br>-rw-r--r-- 1 webservd webservd 5.8M Feb 10 22:32 file.2014-02-10.log<br>-rw-r--r-- 1 webservd webservd 2.1M Feb 11 12:43 file.log</span><br>
<br><br></div>The size of the files should be in the order of the megabytes, but, in the server with the problem, it is in the order of bytes. The contents are just some messages that are written when the application is shutdown, but all the logs of the day are lost ...<br>
<br></div>Any hints of what could be happening?<br><br></div><div>Thank you.<br><br>Regards,<br>Germán<br></div><div><div><br><div><div><div><div><br></div></div></div></div></div></div></div>