Skip to content

Commit

Permalink
updated logger line
Browse files Browse the repository at this point in the history
  • Loading branch information
saumya4751 committed Dec 13, 2024
1 parent f2c2de2 commit 8ed735f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions caption_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@
# ['endpoint', 'status_code', 'client_ip']
# )

logging.getLogger('werkzeug').setLevel(logging.ERROR)

logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(message)s')
logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 8ed735f

Please sign in to comment.