error log not reflect the problem related log
mdounin at mdounin.ru
Tue Mar 20 10:25:38 UTC 2012
On Tue, Mar 20, 2012 at 05:49:17AM -0400, niraj wrote:
> I have configured the nagios on centos, I have perl related code that
> I have set.
> the problem is that when I was configured the same, it had a problem of
> database connection, but in error log it shows the error like 502 bad
> gateway or other error which not reflect the error related to database.
> Means from the error I was not able to conclude that what was the
> Is there any way to change the error log setting so it reflect the
> exact problem ?
The exact reason is expected to be in your backend's log. It's
your backend which failed to produce response, nginx doesn't known
why it failed to do so.
More information about the nginx