Dev Fixed internal server error when no logging is used.