Skip to content

Commit

Permalink
Set logging level to debug for DummyStatsLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 13, 2017
1 parent 52a9f27 commit 887a497
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions superset/stats_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ def gauge(self, key):

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()))

Expand Down

0 comments on commit 887a497

Please sign in to comment.