mirror of https://github.com/apache/superset.git
Set logging level to debug for DummyStatsLogger (#3662)
This commit is contained in:
parent
efae14592e
commit
e97dc9d3cb
|
@ -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()))
|
||||
|
||||
|
|
Loading…
Reference in New Issue