Forum Moderators: phranque
The access log in particular is because I need ALL log data to be able to provide stats through the stats software.
I have not yet learned how to have multiple access logs, so I can have one "combined" log that logs ALL requests, and then shove off a second for the virtual host itself. It seems the second I send off the virtual host logging, it is removed from my combined log.
I can deal with that later, as clients are not currently asking to see their own logs. However, my error_log is filling up with all the favicon.ico and robotx.txt errors. I sent an email to all clients telling them to fix it, though I doubt many will.
I suppose it is unwise to find a way to remove the file not found lines form the error_log? I could change the log level to something else, but that may also be unwise.
What would be ideal, I believe, is to send the error_log for each virtual host to that virtual hosts DocumentRoot.
That seems easy enough, however, these will build up. And the real value is in developers being able to see it, since they do not get ssh access, they can not tail -f the file, and will have to download it.
I would like to set it up where there are max 5 error logs, 4 others are gzipped and rotated, the live one is 250K in size, before it is rotated as well.
Is this something I have to traverse and script, or is this something that can pretty easily be done right in Apache.