Changeset 50e04dd


Ignore:
Timestamp:
Oct 7, 2024, 10:39:28 PM (5 weeks ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
5179f7b
Parents:
ca5a97e
Message:

Add logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app.py

    rca5a97e r50e04dd  
    1414from dotenv import load_dotenv
    1515import os
     16import logging
    1617
    1718load_dotenv()
     19
     20logging.basicConfig(
     21    level=logging.INFO,
     22    format='%(asctime)s - %(name)s - %(levelname)s - %(message)s'
     23)
    1824
    1925
Note: See TracChangeset for help on using the changeset viewer.