Enable debug of memcached when Debug is enabled

This restores the previous behavior changed by recent refactoring about
the *Debug parameters, and ensures that the global Debug parameter also
affects memcached logging.

Closes-Bug: #1940303
Change-Id: I5b8c71793476dd7673015928254d8fa8b499351d
This commit is contained in:
Takashi Kajinami 2021-08-17 23:18:45 +09:00
parent d9026567f8
commit 073e581e62
1 changed files with 5 additions and 2 deletions

View File

@ -96,7 +96,10 @@ conditions:
- not: {equals: [{get_param: MemcachedPort}, 11211]}
memcached_network_set:
not: {equals : [{get_param: MemcachedIpSubnet}, '']}
service_debug: {get_param: MemcachedDebug}
memcached_debug:
or:
- {get_param: Debug}
- {get_param: MemcachedDebug}
is_ipv6:
equals:
- {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, MemcachedNetwork]}]}
@ -213,7 +216,7 @@ outputs:
- ''
- - 'v'
- if:
- service_debug
- memcached_debug
- 'v'
- ''
memcached::disable_cachedump: true