Tweak response logging level

This commit is contained in:
MMaker 2025-02-27 11:30:58 -05:00
parent 419dd19faa
commit c120d9ba92
Signed by: mmaker
GPG Key ID: CCE79B8FEDA40FB2

4
app.py
View File

@ -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)