Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an environment setup on a system I am not in control of and mod_deflate is entering about 3 lines in the error log for every request. They are only the debug level but for some reason the people in control of the server will not disable that level of reporting and the amount of traffic to my site is enough that it crashes the server from all the log entries.

Is there a way to tell mod_deflate not to write to the log or something else I can do on the site level via htaccess or something?

I am on a fairly basic RHEL LAMP server. Thank you!

Excerpt:

[Thu Dec 16 15:00:32 2010] [debug] mod_headers.c(743): headers: ap_headers_output_filter()
[Thu Dec 16 15:00:32 2010] [debug] mod_deflate.c(602): [client IP] Zlib: Compressed 50442 to 9565 : URL /index.php
[Thu Dec 16 15:00:34 2010] [debug] mod_headers.c(743): headers: ap_headers_output_filter()
[Thu Dec 16 15:00:34 2010] [debug] mod_deflate.c(602): [client IP] Zlib: Compressed 1191 to 449 : URL /index.php, referer: http://domain/
[Thu Dec 16 15:00:39 2010] [debug] mod_headers.c(743): headers: ap_headers_output_filter()
[Thu Dec 16 15:00:39 2010] [debug] mod_deflate.c(602): [client IP] Zlib: Compressed 50442 to 9565 : URL /index.php, referer: http://domain/
share|improve this question
    
Can you please post the errors? Remove any confidential information from the logs before posting. –  Mircea Vutcovici Dec 16 '10 at 19:19
    
Added the excerpt above. –  gokujou Dec 16 '10 at 19:43
    
Whoops, looks like it is only 2 lines per request. But still 2 too many. –  gokujou Dec 16 '10 at 19:45
    
I say if they won't fix their server then let it crash. –  Ignacio Vazquez-Abrams Dec 16 '10 at 19:47
    
I wish I had the choice to let it crash. But I have to fix it, now that very well may be that I have to tell them I can't stop it from my end though. I just want to do my due diligence to resolve it. –  gokujou Dec 16 '10 at 19:51

1 Answer 1

In the end, I ended up talking them into editing the virtual host entries for my sites and adding the:

LogLevel crit

I could not find any such way to do it other than that, or fixing it for the whole server.

share|improve this answer
    
same issue with ubuntu 12.10.... WTF mod_deflate is spamming debug log . I want to keep debug log... –  lenzai Apr 18 '13 at 22:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.