Set logging level to debug for DummyStatsLogger (#3662)

This commit is contained in:
Maxime Beauchemin 2017-10-25 00:50:15 +00:00 committed by GitHub
parent efae14592e
commit e97dc9d3cb
1 changed files with 3 additions and 3 deletions

View File

@ -28,15 +28,15 @@ class BaseStatsLogger(object):
class DummyStatsLogger(BaseStatsLogger):
def incr(self, key):
logging.info(
logging.debug(
Fore.CYAN + "[stats_logger] (incr) " + key + Style.RESET_ALL)
def decr(self, key):
logging.info(Fore.CYAN + "[stats_logger] (decr) " + key +
logging.debug(Fore.CYAN + "[stats_logger] (decr) " + key +
Style.RESET_ALL)
def gauge(self, key, value):
logging.info((
logging.debug((
Fore.CYAN + "[stats_logger] (gauge) "
"{key} | {value}" + Style.RESET_ALL).format(**locals()))