Expand logging of bad requests