aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-08-12 08:50:32 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-08-12 08:50:32 +0200
commit129ed9374e34224c63716b05477abf1a67317683 (patch)
treec169ac697ec0f9fdc25efe207eab46cdb8249b55
parent40dbbef3d7189d89e613e11058741dbfb8114e38 (diff)
Add back the name into the logging format
-rwxr-xr-xscripts/lesana2
1 files changed, 1 insertions, 1 deletions
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)