Mantis - Resin
Viewing Issue Advanced Details
1054 minor always 04-17-06 12:25 05-02-06 15:27
billa linux  
ferg 2.6  
normal  
closed 3.0.18  
fixed  
none    
none 3.0.19  
0001054: wrong minute in log rotation archive file name format
The format for naming the log rotation archive files seem to be:

<filename>.%Y%m%d.%H%M

for both time ane size based rotation. However, for size based
rotation, the %H%M part seem to be wrong. I have set rollover-size
only in my resin.conf. It looks like resin does the size check every
10 minutes. The %H%M part of the rotated file is actually 10 minutes in
the future from the time the file was rotated:

-rw-rw-r-- 1 app app 136340396 Apr 17 08:16 resin.stdout.20060417.0826
-rw-rw-r-- 1 app app 115381347 Apr 17 08:59 resin.stdout.20060417.0909
-rw-rw-r-- 1 app app 104857600 Apr 17 09:09 resin.stdout.20060417.0919
-rw-rw-r-- 1 app app 104857600 Apr 17 09:49 resin.stdout.20060417.0959
-rw-rw-r-- 1 app app 10511390 Apr 17 10:07 resin.stdout.20060417.1017


Notes
(0001103)
ferg   
05-02-06 15:27   
server/022e