From ceccebffd55683b57d7cdacb6ecafe4e89addb5d Mon Sep 17 00:00:00 2001 From: Eddie Schlafly Date: Wed, 11 Sep 2024 10:47:41 -0400 Subject: [PATCH] Increase log verbosity. --- romanisim/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/romanisim/__init__.py b/romanisim/__init__.py index 04668334..2461db71 100755 --- a/romanisim/__init__.py +++ b/romanisim/__init__.py @@ -17,5 +17,9 @@ log = logging.getLogger(__name__) logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s', datefmt='%Y-%m-%d %H:%M:%S', level=logging.INFO) +log.setLevel('INFO') +# doesn't feel like it should be necessary, but it seems we don't get some +# test log messages without setting setLevel('INFO') after configuring +# with the basicConfig. __version__ = version(__name__)