Fix superfluous logging statement.