On 10/29/19 3:50 PM, tuan dung wrote:
I want to log IP client to rados gateway log to check information about loadbalancing and other things. I using LB before rados gateway nodes, what need to be done for configuration in rados gateway?
You need to setup `rgw_log_http_headers` option. ``` { "option": { "name": "rgw_log_http_headers", "type": "std::string", "level": "basic", "desc": "List of HTTP headers to log", "long_desc": "A comma delimited list of HTTP headers to log when seen, ignores case (e.g., http_x_forwarded_for).", "default": "", "daemon_default": "", "tags": [], "services": [ "rgw" ], "see_also": [], "enum_values": [], "min": "", "max": "" } } ``` k