--- title: "Configure Bucket Logging" slug: "configure-bucket-logging-s3cmd" updated: 2026-10-27T17:23:57Z published: 2026-10-27T17:23:57Z canonical: "docs.vastdata.com/configure-bucket-logging-s3cmd" --- > ## 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 ```