To enable logging for a bucket, select a target bucket that stores the log files and optionally share the log files with other users.

Prerequisites

Verify that you have the required set of rights to enable bucket logging.
  • If you are an organization administrator, you can manage the logging configuration for the buckets that users in your organization own.
  • If you are an organization user, you can configure the logging of buckets if you are the owner of the source and target buckets.

Procedure

  1. Log in to the VMware Cloud Director tenant portal.
  2. From the main menu (Bars icon), select Object Storage.
  3. In the Buckets pane, click the name of the bucket that you want to edit.
  4. Click Properties.
  5. In the Logging card, click the text.
  6. Enter the logging configuration details and click Save.
    1. Select the target bucket in which you want to store the log files.
      VMware Cloud Director Object Storage Extension grants Write of Bucket and Read of ACL permissions on the target bucket to the log delivery account named System Logger.
    2. (Optional) Enter a prefix for the log files.
    3. (Optional) To save the log files to a folder in the target bucket, select the Prefix as a folder check box.
    4. (Optional) Share the log files with other users.
      • To share the log files with users within your tenant organization, use the toggle buttons in the Tenant Users row.
      • To share the log files with authenticated users within all tenant organizations, use the toggle buttons in the Authenticated Users row.
      • To share the log files with all users, use the toggle buttons in the Public row.
      • To share the log files with specific users within your organization, click the Add User button, select the users with whom you want to share the log files, and use the toggle buttons in the corresponding row.

Results

Whenever an object is added or modified in the logging source bucket, VMware Cloud Director Object Storage Extension creates and adds a bucket log object to the logging target bucket. The owner of the log is the System Logger account.