diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-08-12 08:50:32 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-08-12 08:50:32 +0200 |
commit | 129ed9374e34224c63716b05477abf1a67317683 (patch) | |
tree | c169ac697ec0f9fdc25efe207eab46cdb8249b55 /scripts | |
parent | 40dbbef3d7189d89e613e11058741dbfb8114e38 (diff) |
Add back the name into the logging format
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/lesana | 2 |
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) |