bucket_name = s->src_bucket_name;
} else {
bucket_owner = to_string( s->bucket->get_owner());
- bucket_name = s->bucket->get_name();
+ bucket_name = full_bucket_name(s->bucket);
}
+ using namespace rgw::auth::s3;
+ string aws_version("-");
+ string auth_type("-");
+ rgw::auth::s3::get_aws_version_and_auth_type(s, aws_version, auth_type);
+
switch (conf.logging_type) {
case LoggingType::Standard:
- record = fmt::format("{} {} [{:%d/%b/%Y:%H:%M:%S %z}] {} {} {} {} {} \"{} {}{}{} HTTP/1.1\" {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {}",
+ record = fmt::format("{} {} [{:%d/%b/%Y:%H:%M:%S %z}] {} {} {} {} {} \"{} {}{}{} HTTP/1.1\" {} {} {} {} {} {} {} \"{}\" {} {} {} {} {} {} {} {} {}",
dash_if_empty(bucket_owner),
dash_if_empty(bucket_name),
t,