diff --git a/ocrd_utils/ocrd_logging.conf b/ocrd_utils/ocrd_logging.conf index 84cd41cb57..3595d64ccd 100644 --- a/ocrd_utils/ocrd_logging.conf +++ b/ocrd_utils/ocrd_logging.conf @@ -11,7 +11,7 @@ # each logger requires a corresponding configuration section below # [loggers] -keys=root,ocrd,ocrd_network,ocrd_tensorflow,ocrd_shapely_geos,ocrd_PIL,uvicorn,uvicorn_access,uvicorn_error +keys=root,ocrd,ocrd_network,ocrd_tensorflow,ocrd_shapely_geos,ocrd_PIL,uvicorn,uvicorn_access,uvicorn_error,multipart # # mandatory handlers section @@ -106,6 +106,10 @@ qualname=uvicorn.access level=DEBUG handlers=consoleHandler qualname=uvicorn.error +[logger_multipart] +level=INFO +handlers=consoleHandler +qualname=multipart diff --git a/ocrd_utils/ocrd_utils/logging.py b/ocrd_utils/ocrd_utils/logging.py index 03fa9a5c51..109802f52d 100644 --- a/ocrd_utils/ocrd_utils/logging.py +++ b/ocrd_utils/ocrd_utils/logging.py @@ -67,7 +67,8 @@ 'paramiko.transport': logging.INFO, 'uvicorn.access': logging.DEBUG, 'uvicorn.error': logging.DEBUG, - 'uvicorn': logging.INFO + 'uvicorn': logging.INFO, + 'multipart': logging.INFO, } _initialized_flag = False