logging errors to access.log