From bd697e1769ceeeb773998a370e237f0b5c7cc307 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 22 Jun 2022 09:07:36 -0400 Subject: [PATCH] rgw: fix frontend's use of rgw_access log subsystem Signed-off-by: Casey Bodley --- src/rgw/rgw_asio_frontend.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} << "] \""