]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix frontend's use of rgw_access log subsystem 46816/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 22 Jun 2022 13:07:36 +0000 (09:07 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 22 Jun 2022 13:07:36 +0000 (09:07 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_asio_frontend.cc

index 5bd6bd1adc176f579ac5eba28cc20a20c37803e4..dd656a3b963d61a3381f2d3e60ab5bec69a45f30 100644 (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} << "] \""