From 0b4c68409cd6e7c8c2f876ff420b30c055729958 Mon Sep 17 00:00:00 2001 From: Sofer Athlan-Guyot Date: Fri, 15 Jun 2018 10:53:47 +0200 Subject: [PATCH] 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 1898cc5c834d921c547f29e6f1426505cc6efdde) --- puppet/services/memcached.yaml | 1 - ...ddebug-to-activate-memcached-debug.-41cfa69d4537cbd7.yaml | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/Need-explicit-memcacheddebug-to-activate-memcached-debug.-41cfa69d4537cbd7.yaml diff --git a/puppet/services/memcached.yaml b/puppet/services/memcached.yaml index fd6553245e..cc82951877 100644 --- a/puppet/services/memcached.yaml +++ b/puppet/services/memcached.yaml @@ -63,7 +63,6 @@ conditions: or: - equals: [{get_param: MemcachedDebug}, 'true'] - equals: [{get_param: MemcachedDebug}, 'True'] - - equals: [{get_param: Debug}, true] outputs: role_data: diff --git a/releasenotes/notes/Need-explicit-memcacheddebug-to-activate-memcached-debug.-41cfa69d4537cbd7.yaml b/releasenotes/notes/Need-explicit-memcacheddebug-to-activate-memcached-debug.-41cfa69d4537cbd7.yaml new file mode 100644 index 0000000000..1b1ecb0480 --- /dev/null +++ b/releasenotes/notes/Need-explicit-memcacheddebug-to-activate-memcached-debug.-41cfa69d4537cbd7.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + The Debug parameter do not activate Memcached debug anymore. You + have to pass MemcachedDebug explicitly.