# File lib/s3/s3_interface.rb, line 264
    def put_logging(params)
      AwsUtils.mandatory_arguments([:bucket, :xmldoc], params)
      AwsUtils.allow_only([:bucket, :xmldoc, :headers], params)
      params[:headers] = {} unless params[:headers]
      req_hash = generate_rest_request('PUT', params[:headers].merge(:url=>"#{params[:bucket]}?logging", :data => params[:xmldoc]))
      request_info(req_hash, S3TrueParser.new)
    rescue
      on_exception
    end