Browse Source

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
Alex Schultz 1 year ago
parent
commit
69f0af9ccc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      os_collect_config/local.py

+ 1
- 1
os_collect_config/local.py View File

@@ -89,7 +89,7 @@ class Collector(object):
89 89
                     basename = os.path.basename(data_file)
90 90
                     final_content.append((basename, value))
91 91
         if not final_content:
92
-            logger.warn('No local metadata found (%s)' %
92
+            logger.info('No local metadata found (%s)' %
93 93
                         cfg.CONF.local.path)
94 94
 
95 95
         # Now sort specifically by C locale

Loading…
Cancel
Save