From: Casey Bodley Date: Wed, 22 Jun 2022 13:07:36 +0000 (-0400) Subject: rgw: fix frontend's use of rgw_access log subsystem X-Git-Tag: v18.0.0~640^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F46816%2Fhead;p=ceph.git rgw: fix frontend's use of rgw_access log subsystem Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_asio_frontend.cc b/src/rgw/rgw_asio_frontend.cc index 5bd6bd1adc176..dd656a3b963d6 100644 --- a/src/rgw/rgw_asio_frontend.cc +++ b/src/rgw/rgw_asio_frontend.cc @@ -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} << "] \""