--- title: "Configure Bucket Logging" slug: "configure-bucket-logging-s3cmd-tg" tags: ["5.4"] updated: 2026-10-28T01:54:14Z published: 2026-10-28T01:54:14Z canonical: "docs.vastdata.com/configure-bucket-logging-s3cmd-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. # Configure Bucket Logging To enable bucket logging of access to bucket `mybucket` to a bucket named `destination-bucket` so that log object keys are prefixed with `logs`: ```plaintext s3cmd accesslog --access-logging-target-prefix=s3://destination-bucket/logs/ s3://mybucket ```