Tweak response logging level
This commit is contained in:
parent
419dd19faa
commit
c120d9ba92
4
app.py
4
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user