From 69f0af9ccc492cd95e2dd14f27183064a8a48236 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Tue, 2 Jan 2018 08:14:28 -0700 Subject: [PATCH] Lower local collector log level The local collector was added as the default but we're not properly configuring it anywhere so this results in two log messages being printed. Let's lower one of the messages to info and leave the one about non-existing directory as a warning to indicate possible mis-configuration. Change-Id: I52ead32cce1eaf5f3816507e8e62b270f1a1a1cd Closes-Bug: #1691003 --- os_collect_config/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_collect_config/local.py b/os_collect_config/local.py index 69883ae..6c611be 100644 --- a/os_collect_config/local.py +++ b/os_collect_config/local.py @@ -89,7 +89,7 @@ class Collector(object): basename = os.path.basename(data_file) final_content.append((basename, value)) if not final_content: - logger.warn('No local metadata found (%s)' % + logger.info('No local metadata found (%s)' % cfg.CONF.local.path) # Now sort specifically by C locale