Merge pull request #46816 from cbodley/wip-54405-again

rgw: fix frontend's use of rgw_access log subsystem

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
This commit is contained in:
Casey Bodley 2022-06-22 11:27:38 -04:00 committed by GitHub
commit 2d9c94d9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,7 +271,7 @@ void handle_connection(boost::asio::io_context& context,
env.ratelimiting->get_active(),
&http_ret, env.lua_background);
if (cct->_conf->subsys.should_gather(dout_subsys, 1)) {
if (cct->_conf->subsys.should_gather(ceph_subsys_rgw_access, 1)) {
// access log line elements begin per Apache Combined Log Format with additions following
lsubdout(cct, rgw_access, 1) << "beast: " << std::hex << &req << std::dec << ": "
<< remote_endpoint.address() << " - " << user << " [" << log_apache_time{started} << "] \""