i've configured my resin-access log as follows:

<access-log path="logs/${fmt.timestamp('%Y/%m/transfer.%d.log')}"
rollover-period='1D' />

imho, resin should use this format to rollover, but what i get is this
(depending on when resin was restarted):

-rw-r--r-- 1 wwwrun www       462 Jun  1 00:00 transfer.30.log.20070531
-rw-r--r-- 1 wwwrun www       469 Jun  2 00:00 transfer.30.log.20070601
-rw-r--r-- 1 wwwrun www       467 Jun  3 00:00 transfer.30.log.20070602
-rw-r--r-- 1 wwwrun www       220 Jun  4 00:00 transfer.30.log

that's not what was intended by the format... :-O

resin should recreate the timestamp on rollover and use this as filename format.
also, i'd expect resin to change/create the directory on a new month/year.

[filed as bug-report 0001777]

best regards, --- jan.


- resin 3.1.1
- jdk 1.6
- opensuse linux 10.2

resin-interest mailing list

Reply via email to