035d91dce5
Modify the 'log_name' option in the InternalClient wsgi config for the following services: container-sharder, container-reconciler, container-deleter, container-sync and object-expirer. Previously the 'log_name' value for all internal client instances sharing a single internal-client.conf file took the value configured in the conf file, or would default to 'swift'. This resulted in no distinction between logs from each internal client, and no association with the service using a particular internal client. With this change the 'log_name' value will typically be <log_route>-ic where <log_route> is the service's conf file section name. For example, 'container-sharder-ic'. Note: any 'log_name' value configured in an internal client conf file will now be ignored for these services unless the option key is preceded by 'set'. Note: by default, the logger's StatdsClient uses the log_name as its tail_prefix when composing metrics' names. However, the proxy-logging middleware overrides the tail_prefix with the hard-coded value 'proxy-server'. This change to log_name therefore does not change the statsd metric names emitted by the internal client's proxy-logging. This patch does not change the logging of the services themselves, just their internal clients. Change-Id: I844381fb9e1f3462043d27eb93e3fa188b206d05 Related-Change: Ida39ec7eb02a93cf4b2aa68fc07b7f0ae27b5439 |
||
---|---|---|
.. | ||
__init__.py | ||
test_container_deleter.py | ||
test_default_output_id_assigned.stub | ||
test_default_output.stub | ||
test_default_sorted_output.stub | ||
test_dispersion_report.py | ||
test_form_signature.py | ||
test_info.py | ||
test_ipv6_output.stub | ||
test_manage_shard_ranges.py | ||
test_recon.py | ||
test_relinker.py | ||
test_ring_builder_analyzer.py | ||
test_ringbuilder.py | ||
test_ringcomposer.py |