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:
Colton Myers 2015-11-02 15:05:36 -07:00
parent b919f55f8d
commit 06cdb50494
2 changed files with 1 additions and 2 deletions

View file

@ -89,4 +89,5 @@ class Roster(object):
tgt_type)
)
log.debug('Matched minions: {0}'.format(targets))
return targets

View file

@ -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):