httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Wiedmann <>
Subject [users@httpd]
Date Thu, 25 Sep 2014 09:56:25 GMT

like with a lot of other people, our log files grew too big over time.
So we decided to give rotatelogs a try (I am talking about Apache
Httpd 2.2 on Windows Server 2003 R2, 64 Bit.) Here's the relevant
excerpt from httpd.conf:

$ grep rotatelogs httpd.conf
ErrorLog "|C:/Prg/Apache2.2/bin/rotatelogs.exe -l -f
C:/Prg/Apache2.2/logs/error.%Y.%m.%d.log 86400"
    CustomLog "|C:/Prg/Apache2.2/bin/rotatelogs.exe -l -f
C:/Prg/Apache2.2/logs/access.%Y.%m.%d.log 86400" common

However, looking into the logs directory, I see the files listed
below. Two things strike me as odd:

a) There is a daily entry for the access.log. Good. But, what about
the error.log?
b)There's still a giant file access.log, which is exactly what we
wanted to get rid of in the first place. How's that?



$ ls -CAl | awk '{print $1 " " $5 " " $9}'
-rwxrwx---+ 182734 access.2014.09.15.log
-rwxrwx---+ 203230 access.2014.09.16.log
-rwxrwx---+ 201600 access.2014.09.17.log
-rwxrwx---+ 205652 access.2014.09.18.log
-rwxrwx---+ 201460 access.2014.09.19.log
-rwxrwx---+ 201600 access.2014.09.20.log
-rwxrwx---+ 201600 access.2014.09.21.log
-rwxrwx---+ 205650 access.2014.09.22.log
-rwxrwx---+ 201600 access.2014.09.23.log
-rwxrwx---+ 204885 access.2014.09.24.log
-rwxrwx---+ 69020 access.2014.09.25.log
-rwxrwx---+ 3295014892 access.log
-rwx------+ 776 error.2014.08.20.log
-rwxrwx---+ 843 error.2014.09.02.log
-rwxrwx---+ 843 error.2014.09.08.log
-rwxrwx---+ 843 error.2014.09.15.log
-rwxrwx---+ 758572 error.log
-rwxrwx---+ 6
-rwxrwx---+ 3375989937 ssl_request.log

Our time is just a point along a line that runs forever with no end.
(Al Stewart, Lord Grenville)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message