Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 16, 2024
1 parent 176b3dd commit f351146
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@

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('%(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 f351146

Please sign in to comment.