Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 16, 2024
1 parent f351146 commit 9ad4e28
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@

# see https://fastapi.tiangolo.com/deployment/docker/#replication-number-of-processes for comment on worker counts

# logger = logging.getLogger('uvicorn.error')

logger = logging.getLogger(__name__)
stream_handler = logging.StreamHandler(sys.stdout)
# log_formatter = logging.Formatter('%(asctime)s [%(processName)s: %(process)d] [%(threadName)s: %(thread)d] [%(levelname)s] %(name)s: %(message)s')
log_formatter = logging.Formatter('%(levelname)s: %(asctime)s - %(message)s')
stream_handler.setFormatter(log_formatter)
logger.addHandler(stream_handler)
Expand Down

0 comments on commit 9ad4e28

Please sign in to comment.