From 568cf60b4c7b2d1a6a425319bfa5f12d7c59a4b0 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Tue, 1 Sep 2020 11:57:18 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Consistently=20set=20LOG?= =?UTF-8?q?=5FLEVEL=20to=20INFO=20by=20default?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my_ocrd_workflow | 2 +- run | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/my_ocrd_workflow b/my_ocrd_workflow index d3164be..805b044 100755 --- a/my_ocrd_workflow +++ b/my_ocrd_workflow @@ -3,7 +3,7 @@ set -e # Abort on error # Configuration -export LOG_LEVEL=${LOG_LEVEL:-DEBUG} # /etc/ocrd_logging.py uses this to set level for all OCR-D modules +export LOG_LEVEL=${LOG_LEVEL:-INFO} # /etc/ocrd_logging.py uses this to set level for all OCR-D modules export TEXTEQUIV_LEVEL=glyph # Command line parameters diff --git a/run b/run index 940de9b..01fd03c 100755 --- a/run +++ b/run @@ -4,6 +4,7 @@ set -e # Abort on error DOCKER_IMAGE_PREFIX=${DOCKER_IMAGE_PREFIX:-my_ocrd_workflow} # default to locally built DOCKER_IMAGE_TAG=${DOCKER_IMAGE_TAG:-latest} +LOG_LEVEL=${LOG_LEVEL:-INFO} self=`realpath $0` self_dir=`dirname "$self"`