this allows the log level of this http access log to be configured
separately from the 'rgw' subsystem, though the defaults are the same
Fixes: https://tracker.ceph.com/issues/54405
Signed-off-by: Casey Bodley <cbodley@redhat.com>
* system
* truncated
* user_stats_sync
+* RGW: The beast frontend's HTTP access log line uses a new debug_rgw_access
+ configurable. This has the same defaults as debug_rgw, but can now be controlled
+ independently.
>=17.2.1
SUBSYS(rgw, 1, 5) // log level for the Rados gateway
SUBSYS(rgw_sync, 1, 5)
SUBSYS(rgw_datacache, 1, 5)
+SUBSYS(rgw_access, 1, 5)
SUBSYS(javaclient, 1, 5)
SUBSYS(asok, 1, 5)
SUBSYS(throttle, 1, 1)
if (cct->_conf->subsys.should_gather(dout_subsys, 1)) {
// access log line elements begin per Apache Combined Log Format with additions following
- ldout(cct, 1) << "beast: " << std::hex << &req << std::dec << ": "
+ lsubdout(cct, rgw_access, 1) << "beast: " << std::hex << &req << std::dec << ": "
<< remote_endpoint.address() << " - " << user << " [" << log_apache_time{started} << "] \""
<< message.method_string() << ' ' << message.target() << ' '
<< http_version{message.version()} << "\" " << http_ret << ' '