Skip to content

Commit

Permalink
Merge pull request #50136 from terminalmage/debug-logging
Browse files Browse the repository at this point in the history
Add some debug logging before and after states gather pillar data
  • Loading branch information
Mike Place committed Oct 22, 2018
2 parents 593c7ff + 8592a0b commit 28bc5e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/state.py
Expand Up @@ -732,6 +732,7 @@ def __init__(
except AttributeError:
pillar_enc = six.text_type(pillar_enc).lower()
self._pillar_enc = pillar_enc
log.debug('Gathering pillar data for state run')
if initial_pillar and not self._pillar_override:
self.opts['pillar'] = initial_pillar
else:
Expand All @@ -745,6 +746,7 @@ def __init__(
self.opts.get('pillar_source_merging_strategy', 'smart'),
self.opts.get('renderer', 'yaml'),
self.opts.get('pillar_merge_lists', False))
log.debug('Finished gathering pillar data for state run')
self.state_con = context or {}
self.load_modules()
self.active = set()
Expand Down

0 comments on commit 28bc5e3

Please sign in to comment.