When running Ganeti in debug mode, certain messages appear more than others. The "up-to-date config" message is a very common sight and a cause of clutter in cluster logs. This patch removes it because it is not useful - the control flow contains meaningful messages for all other cases (config request, WConfd polling), and the absence of any message is equally indicative as the presence of this one.
Signed-off-by: Hrvoje Ribicic <[email protected]> --- lib/config/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/config/__init__.py b/lib/config/__init__.py index 667cb8b..d71f457 100644 --- a/lib/config/__init__.py +++ b/lib/config/__init__.py @@ -2679,7 +2679,6 @@ class ConfigWriter(object): logging.debug("Requesting config, as I have no up-to-date copy") dict_data = self._wconfd.ReadConfig() else: - logging.debug("My config copy is up to date.") dict_data = None else: # poll until we acquire the lock -- 2.6.0.rc2.230.g3dd15c0
