From 185f9f47b35c0357c30626c6af2c7b0e0fb32ebd Mon Sep 17 00:00:00 2001 From: Audacity88 Date: Tue, 19 May 2026 00:24:21 +0800 Subject: [PATCH] Avoid logging OAuth1 access tokens --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 7930e87..5996c1c 100644 --- a/server.py +++ b/server.py @@ -311,7 +311,7 @@ def build_oauth1_client() -> OAuth1Client: if is_truthy(os.getenv("X_OAUTH_PRINT_TOKENS", "0")): print("OAuth1 access token:", access_token) print("OAuth1 access token secret:", access_secret) - LOGGER.info("OAuth1 access token: %s", access_token) + LOGGER.info("OAuth1 access token acquired.") return OAuth1Client( client_key=consumer_key, client_secret=consumer_secret,