Fix incorrect Designate*LoggingSource

Most of the designate log files are not prefixed by designate- . This
change updates defaults of the Designate*LoggingSource parameters to
use the correct log file path.

Also, this change fixes the inconsistent log file name format used by
the designate-api service, which is currently prefixed by designate-.

Change-Id: Ibc0a346c313111fac6002b698dff6d3a4ddd0c93
This commit is contained in:
Takashi Kajinami 2022-06-25 17:59:49 +09:00
parent 154de03fd4
commit 8ef751c4e1
3 changed files with 5 additions and 3 deletions

View File

@ -146,7 +146,9 @@ outputs:
designate::keystone::authtoken::memcache_use_advanced_pool: {get_param: MemcacheUseAdvancedPool}
designate::api::api_base_uri: { get_param: [EndpointMap, DesignatePublic, uri_no_suffix] }
designate::api::service_name: 'httpd'
designate::logging::log_file: '/var/log/designate/designate-api.log'
# This overrides the log_file option globally but for the other
# services we override this by --log-file option.
designate::logging::log_file: '/var/log/designate/api.log'
designate::wsgi::apache::access_log_format: 'forwarded'
designate::wsgi::apache::ssl: {get_param: EnableInternalTLS}
designate::wsgi::apache::bind_host:

View File

@ -18,7 +18,7 @@ parameters:
type: json
default:
tag: openstack.designate.producer
file: /var/log/containers/designate/designate-producer.log
file: /var/log/containers/designate/producer.log
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set

View File

@ -18,7 +18,7 @@ parameters:
type: json
default:
tag: openstack.designate.worker
file: /var/log/containers/designate/designate-worker.log
file: /var/log/containers/designate/worker.log
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set