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.

How can I show only "Request exceeded the limit" entries in error.log? I looked at find and similar functions, I figure I'll need to use grep. But I'm missing a piece of the puzzle...

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

This should do it for you:

grep 'Request exceeded the limit' /var/log/apache2/error.log
share|improve this answer
    
I enabled LogLevel debug in an effort to debug that error, but it doesn't appear to show up in error.log at all.... any ideas on what else I should look for? –  Webnet Dec 17 '10 at 17:15
    
Perhaps I am misunderstanding what you are wanting to do. If your error log contains any "Request exceeded the limit" messages, the command I provided will display them. Are you simply trying to ensure that Apache logs any requests that generate a "Request exceeded the limit" error or something else? –  KayakJim Dec 17 '10 at 17:28
    
I get this error all the time in our logs. When I enable Loglevel Debug it seems to no longer log these messages. I can't tell because of all the SSL stuff that's logged –  Webnet Dec 20 '10 at 14:23
add comment

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.