added configurable 500 error code, removed request logger
added configurable 500 error code, removed request logger