Updated on 2026-08-03 GMT+08:00

bucket_logging_message

Table 1 bucket_logging_message

Parameter

Type

Mandatory (Yes/No)

Description

target_bucket

char *

No

Explanation:

When enabling the logging function, the owner of the bucket being logged can specify a target bucket to store the generated log files.

Log files generated for multiple buckets can be stored in the same target bucket. If you do so, you need to specify different target_prefix to classify logs for different buckets.

Restrictions:

None

Value range:

None

Default value:

None

target_bucket_size

int

No

Explanation:

Number of elements in the target_bucket array.

Restrictions:

None

Value range:

None

Default value:

None

target_prefix

char *

No

Explanation:

You can specify a prefix using this element so that log files are named with this prefix.

Restrictions:

None

Value range:

None

Default value:

None

target_prefix_size

int

No

Explanation:

Number of elements in the target_prefix array.

Restrictions:

None

Value range:

None

Default value:

None

acl_grants

obs_acl_grant *

No

Explanation:

Permission information structure.

Restrictions:

None

Value range:

None

Default value:

None

acl_grant_count

int

No

Explanation:

Number of elements in the acl_grants array.

Restrictions:

None

Value range:

None

Default value:

None

agency

char *

No

Explanation:

Name of the agency created by the owner of the logging bucket for uploading log files by OBS.

Restrictions:

None

Value range:

None

Default value:

None

agency_size

int

No

Explanation:

Number of elements in the agency array.

Restrictions:

None

Value range:

None

Default value:

None