mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #50136 from terminalmage/debug-logging
Add some debug logging before and after states gather pillar data
This commit is contained in:
commit
28bc5e351f
1 changed files with 2 additions and 0 deletions
|
@ -732,6 +732,7 @@ class State(object):
|
|||
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:
|
||||
|
@ -745,6 +746,7 @@ class State(object):
|
|||
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()
|
||||
|
|
Loading…
Add table
Reference in a new issue