Add logging for unknown content length