Activate memcached debug only when using MemcachedDebug param.

Do not activate it with Debug anymore.  We are now pushing memcached
log into stdout where they will be collected by journald.  When
activating debug, it will log there all the requests/replies to/from
memcached.  This will make the journal grows fast and clutter it
will (most of the time) useless information.

So if memcached debug is needed for some reason let the operator says
so explicitly.

Change-Id: I85b6ca421d326c6e764fade66726407b905c796d
(cherry picked from commit 1898cc5c83)
This commit is contained in:
Sofer Athlan-Guyot 2018-06-15 10:53:47 +02:00 committed by Carlos Camacho
parent 57ced3367a
commit 0b4c68409c
2 changed files with 5 additions and 1 deletions

View File

@ -63,7 +63,6 @@ conditions:
or:
- equals: [{get_param: MemcachedDebug}, 'true']
- equals: [{get_param: MemcachedDebug}, 'True']
- equals: [{get_param: Debug}, true]
outputs:
role_data:

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The Debug parameter do not activate Memcached debug anymore. You
have to pass MemcachedDebug explicitly.