--- title: "Return Bucket Logging" slug: "return-bucket-logging-boto3-tg" updated: 2026-10-27T17:23:14Z published: 2026-10-27T17:23:14Z canonical: "docs.vastdata.com/return-bucket-logging-boto3-tg" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # Return Bucket Logging Use the [get_bucket_logging()](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3/client/get_bucket_logging.html) method to configure bucket logging, for example: ```plaintext response = client.get_bucket_logging(    Bucket='mybucket', ) ```