You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by gs...@apache.org on 2025/10/20 04:23:05 UTC
(steve) 01/02: quiet/clean the logging
This is an automated email from the ASF dual-hosted git repository.
gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git
commit 4a877e3ba1aeae6fb2628fceb00e9d3dd58ecfeb
Author: Greg Stein <gs...@gmail.com>
AuthorDate: Sun Oct 19 23:18:16 2025 -0500
quiet/clean the logging
---
v3/server/main.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/v3/server/main.py b/v3/server/main.py
index 33d7295..7659d6c 100755
--- a/v3/server/main.py
+++ b/v3/server/main.py
@@ -30,7 +30,7 @@ CERTS_DIR = THIS_DIR / 'certs'
def main():
logging.basicConfig(level=logging.DEBUG,
style='{',
- format='[{asctime}|{levelname}|{module}] {message}',
+ format='[{asctime}|{levelname}|{name}] {message}',
datefmt=DATE_FORMAT,
)
@@ -38,6 +38,9 @@ def main():
logging.getLogger('selector_events').setLevel(logging.INFO)
logging.getLogger('hpack').setLevel(logging.INFO)
logging.getLogger('sslproto').setLevel(logging.INFO)
+ ### above is good, but leaks stuff. This quiets things. too much?
+ ### other way to approach: what in asyncio do we need to observe?
+ logging.getLogger('asyncio').setLevel(logging.INFO)
### is this really needed right now?
# Avoid OIDC