Skip to content

Commit

Permalink
message tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 16, 2024
1 parent 97a9627 commit 89e0fb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
# add REST routes

api.include_router(configuration_router, prefix='/config')
logger.debug('/config route defined.')
logger.debug('route added: /config')
api.include_router(database_router, prefix='/db')
logger.debug('/db route defined.')
logger.debug('route added: /db')
api.include_router(swissarmy_router, prefix='/internal', include_in_schema=False) # undocumented
logger.debug('/internal route defined.')
logger.debug('route added: /internal (undocumented)')
# api.include_router(test_router, prefix='/test')
# logger.debug('/test route defined.')

Expand Down
2 changes: 1 addition & 1 deletion api/tooling/logger_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def format(self, record):

# Define custom formats for each severity level
level_formats = {
logging.DEBUG: '%(levelname)s:\t %(asctime)s %(module)s %(funcName)s %(message)s',
logging.DEBUG: '%(levelname)s:\t %(asctime)s %(module)s %(message)s',
logging.INFO: '%(levelname)s:\t %(message)s',
logging.WARNING: '%(levelname)s:\t %(message)s',
logging.ERROR: '%(levelname)s:\t %(message)s',
Expand Down

0 comments on commit 89e0fb8

Please sign in to comment.