Skip to content

Commit

Permalink
Remove irrelevant logging comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanzhou authored Nov 20, 2023
1 parent 83a4b57 commit 031c4b5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
global logger

# Set logging format and level (default is warning)
# All the API logging is forwarded to the uWSGI server and gets written into the log file `log/uwsgi-entity-api.log`
# Log rotation is handled via logrotate on the host system with a configuration file
# Do NOT handle log file and rotation via the Python logging to avoid issues with multi-worker processes
logging.basicConfig(format='[%(asctime)s] %(levelname)s in %(module)s: %(message)s', level=logging.DEBUG, datefmt='%Y-%m-%d %H:%M:%S')

# Use `getLogger()` instead of `getLogger(__name__)` to apply the config to the root logger
Expand Down

0 comments on commit 031c4b5

Please sign in to comment.