[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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?

Thanks,

Jochen

$ ls -CAl | awk '{print $1 " " $5 " " $9}'
total
-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 httpd.pid
-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: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux