Sometimes (happened twice in the last months) lsws stops rotating log files for no apparent reason. Example:
As you can see the last rotate happened on 2009-01-13. Nothing interesting happened on that day that could have caused it.
lsws version: 3.3.23
config for this vhost:
Code:
-rw-r--r-- 1 www-data www-data 1.2G 2009-01-20 18:20 access.log
-rw-r--r-- 1 www-data www-data 11M 2009-01-12 19:42 access.log.2009_01_12.14
-rw-r--r-- 1 www-data www-data 11M 2009-01-12 20:34 access.log.2009_01_12.15
-rw-r--r-- 1 www-data www-data 11M 2009-01-12 21:29 access.log.2009_01_12.16
-rw-r--r-- 1 www-data www-data 11M 2009-01-12 22:25 access.log.2009_01_12.17
-rw-r--r-- 1 www-data www-data 11M 2009-01-12 23:40 access.log.2009_01_12.18
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 02:46 access.log.2009_01_13
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 08:14 access.log.2009_01_13.01
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 09:30 access.log.2009_01_13.02
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 10:32 access.log.2009_01_13.03
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 11:29 access.log.2009_01_13.04
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 12:22 access.log.2009_01_13.05
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 13:19 access.log.2009_01_13.06
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 14:11 access.log.2009_01_13.07
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 15:01 access.log.2009_01_13.08
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 15:53 access.log.2009_01_13.09
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 16:42 access.log.2009_01_13.10
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 17:35 access.log.2009_01_13.11
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 18:27 access.log.2009_01_13.12
-rw-r--r-- 1 www-data www-data 11M 2009-01-13 19:26 access.log.2009_01_13.13
lsws version: 3.3.23
config for this vhost:
Code:
<logging>
<log>
<useServer>0</useServer>
<fileName>/var/www/..../shared/log/lsws.log</fileName>
<logLevel>WARN</logLevel>
<rollingSize>5M</rollingSize>
</log>
<accessLog>
<useServer>0</useServer>
<fileName>/var/log/lsws/..../access.log</fileName>
<pipedLogger></pipedLogger>
<logFormat></logFormat>
<logHeaders>7</logHeaders>
<rollingSize>10M</rollingSize>
<keepDays>1</keepDays>
<bytesLog></bytesLog>
<compressArchive>0</compressArchive>
</accessLog>
</logging>