diff --git a/Dockerfile-core b/Dockerfile-core index 2b3c8c6..da4a850 100644 --- a/Dockerfile-core +++ b/Dockerfile-core @@ -22,7 +22,7 @@ RUN echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries && \ # Set up OCR-D logging -COPY ocrd_logging.py /etc/ +RUN echo "setOverrideLogLevel(os.getenv('LOG_LEVEL', 'INFO'))" >/etc/ocrd_logging.py # Install pip (and setuptools) diff --git a/ocrd_logging.py b/ocrd_logging.py deleted file mode 100644 index a380b99..0000000 --- a/ocrd_logging.py +++ /dev/null @@ -1 +0,0 @@ -setOverrideLogLevel(os.getenv('LOG_LEVEL', 'INFO'))