Skip to content

Commit

Permalink
Only print polling.yaml file contents as DEBUG
Browse files Browse the repository at this point in the history
Since this file can contain sensitive information such
as admin credentials of target resources (e.g. snmp) it
is not a good idea to print this log as INFO since admins
might want to have INFO level logging but without the risk
of it containing this kind of information.

We might want to consider remmoving this log altogether.

Change-Id: Iff5fcc4b6c30142f2c5c9ad26027dc5a6542a881
Closes-Bug: #1811098
  • Loading branch information
dosaboy committed Jan 10, 2019
1 parent 818dc0f commit 8881a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceilometer/agent.py
Expand Up @@ -61,7 +61,7 @@ def load_config(self, cfg_file):
__name__, 'pipeline/data/' + cfg_file)
with open(cfg_loc) as fap:
conf = yaml.safe_load(fap)
LOG.info("Config file: %s", conf)
LOG.debug("Config file: %s", conf)
return conf


Expand Down

0 comments on commit 8881a42

Please sign in to comment.