mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Set logging level to debug for DummyStatsLogger (#3662)
This commit is contained in:
committed by
GitHub
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()))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user