mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Log minion list for all rosters, at debug level
Logging the minion list at INFO is noisy for every call. It's debug information. Additionally, we want to log the targets for every roster type, so move the log higher in the call chain.
This commit is contained in:
parent
b919f55f8d
commit
06cdb50494
2 changed files with 1 additions and 2 deletions
|
@ -89,4 +89,5 @@ class Roster(object):
|
|||
tgt_type)
|
||||
)
|
||||
|
||||
log.debug('Matched minions: {0}'.format(targets))
|
||||
return targets
|
||||
|
|
|
@ -63,7 +63,6 @@ class RosterMatcher(object):
|
|||
data = self.get_data(minion)
|
||||
if data:
|
||||
minions[minion] = data
|
||||
log.info('minions list: {0}'.format(minions))
|
||||
return minions
|
||||
|
||||
def ret_pcre_minions(self):
|
||||
|
@ -76,7 +75,6 @@ class RosterMatcher(object):
|
|||
data = self.get_data(minion)
|
||||
if data:
|
||||
minions[minion] = data
|
||||
log.info('minions list: {0}'.format(minions))
|
||||
return minions
|
||||
|
||||
def ret_list_minions(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue