diff --git a/src/rgw/rgw_asio_frontend.cc b/src/rgw/rgw_asio_frontend.cc index 5bd6bd1adc1..dd656a3b963 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} << "] \""