From 129ed9374e34224c63716b05477abf1a67317683 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Thu, 12 Aug 2021 08:50:32 +0200 Subject: Add back the name into the logging format --- scripts/lesana | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lesana b/scripts/lesana index 8f38a67..96a973f 100755 --- a/scripts/lesana +++ b/scripts/lesana @@ -30,7 +30,7 @@ if __name__ == "__main__": # setup logging for lesana cli logger = logging.getLogger('lesana') ch = logging.StreamHandler() - formatter = logging.Formatter('%(levelname)s: %(message)s') + formatter = logging.Formatter('%(levelname)s:%(name)s: %(message)s') ch.setFormatter(formatter) logger.addHandler(ch) logger.setLevel(logging.INFO) -- cgit v1.2.3