From c5b90c01440affe7606ec6ee696e464fb28f77b0 Mon Sep 17 00:00:00 2001 From: Oleg Silkin Date: Fri, 23 Aug 2019 16:13:51 -0400 Subject: [PATCH] Removes unused debug flag --- lbry/lbry/extras/daemon/Daemon.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lbry/lbry/extras/daemon/Daemon.py b/lbry/lbry/extras/daemon/Daemon.py index da71d0e56..0a67b2821 100644 --- a/lbry/lbry/extras/daemon/Daemon.py +++ b/lbry/lbry/extras/daemon/Daemon.py @@ -391,13 +391,11 @@ class Daemon(metaclass=JSONRPCServerType): return self._installation_id @staticmethod - def log_function_params(fname, debug=False, **params): + def log_function_params(fname, **params): params_passed = [f'{k}: {repr(v)}' for k, v in params.items() if v is not None] logstr = f'{fname}: {{{", ".join(params_passed)}}}' - if not debug: - log.info(logstr) - else: - log.debug(logstr) + log.info(logstr) + def ensure_data_dir(self): if not os.path.isdir(self.conf.data_dir):