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

Users of my website are getting html error 502/503. But Apache is not logging these. In my Apache access_log I cannot see any request for which returned html error code was 50x.

How can I count number of 50x errors my users are getting in a day ?

My configuration is as follows I have 1 Ha-proxy and 2 severs running Apache.

share|improve this question

1 Answer 1

A 502 or 503 would indicate the error is coming from HAProxy, so it's not involving the Apache servers at all. You'll need to have those logged by HAProxy itself.

share|improve this answer

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.