'Get the logging status for this bucket.
:rtype: :class:`boto.s3.bucketlogging.BucketLogging`
:return: A BucketLogging object for this bucket.'

def get_logging_status(self, headers=None):

    response = self.connection.make_request('GET', self.name, query_args='logging', headers=headers)
    body = response.read()
    if (response.status == 200):
        blogging = BucketLogging()
        h = handler.XmlHandler(blogging, self)
        if (not isinstance(body, bytes)):
            body = body.encode('utf-8')
        xml.sax.parseString(body, h)
        return blogging
    else:
        raise self.connection.provider.storage_response_error(response.status, response.reason, body)
