RejectedSoftware Forums

Sign up

Logging 500's?

HTTP 5xx errors that occur are being sent back to the client, but they
don't appear to be output to the log. Is there a way I can have them
automatically logged?

Re: Logging 500's?

On Sun, 10 Apr 2016 10:45:39 -0400, Nick Sabalausky wrote:

HTTP 5xx errors that occur are being sent back to the client, but they
don't appear to be output to the log. Is there a way I can have them
automatically logged?

They should be logged to the HTTP log (HTTPServerSettings.accessLog...), but for complete/custom logging, the best bet is to set the .errorPageHandler and log from there.