From c120d9ba92ee17f476e9f71a062288642a4a62e2 Mon Sep 17 00:00:00 2001 From: MMaker Date: Thu, 27 Feb 2025 11:30:58 -0500 Subject: [PATCH] Tweak response logging level --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 6abbe59..0bed796 100644 --- a/app.py +++ b/app.py @@ -363,7 +363,7 @@ if you want to download videos, please consider using a tool like nndownload: ht logger.info(f"Caching response for video ID: {video_id}") cache.set(f"{video_id}_html", html_response, expire=CACHE_EXPIRATION_SECONDS) - logger.debug(f"Returning response for video ID: {video_id}") + logger.info(f"Returning response for video ID: {video_id}") return Response(html_response, mimetype="text/html") @app.route("/owoembed") @@ -398,5 +398,5 @@ def owoembed(): "version": "1.0" } - logger.debug(f"Returning oEmbed response for video ID: {video_id}") + logger.info(f"Returning oEmbed response for video ID: {video_id}") return jsonify(oembed_response)