[app]log] all explicite configurations
-# This is a template configuration file which allows customizing
-# format and destination of log messages with OCR-D.
-# It is meant as an example, and should be customized.
+# This is a template configuration file to demonstrate
+# formats and destinations of log messages with OCR-D.
+# It's meant as an example, and should be customized.
# To get into effect, you must put a copy (under the same name)
# into your CWD, HOME or /etc. These directories are searched
# in said order, and the first find wins. When no config file
# is found, the default logging configuration applies (cf. ocrd_logging.py).
#
# mandatory loggers section
-# configure loggers with correspnding keys "root", ""
+# configure loggers with corresponding keys "root",""
# each logger requires a corresponding configuration section below
#
[loggers]
-#keys=root,ocrd_workspace
-keys=root,ocrd_tensorflow,ocrd_shapely_geos
+keys=root,ocrd_tensorflow,ocrd_shapely_geos,ocrd_PIL,ocrd_workspace
#
# mandatory handlers section
-# handle output for each logging "channel"
+# handle output for logging "channel"
# i.e. console, file, smtp, syslog, http, ...
-# each handler requires a corresponding configuration section below
+# each handler requires a corresponding handler configuration section below
#
[handlers]
keys=consoleHandler,fileHandler
#
-# optional custom formatters section
-# format message fields, to be used differently by logging handlers
+# optional formatters section
+# format message records, to be used differently by logging handlers
# each formatter requires a corresponding formatter section below
#
[formatters]
keys=defaultFormatter,detailedFormatter
#
-# default logger "root" using consoleHandler
+# default logger "root" configured to use only consoleHandler
#
[logger_root]
level=INFO
handlers=consoleHandler
+
#
# additional logger configurations can be added
# as separate configuration sections like below
@@ -47,25 +47,44 @@ handlers=consoleHandler
# "qualname" must match the logger label used in the corresponding
# ocrd modul
# see in the modul-of-interrest (moi)
+
+
+#
+# logger ocrd.workspace
#
-#[logger_ocrd_workspace]
-#level=DEBUG
-#handlers=fileHandler
-#qualname=ocrd.workspace
+[logger_ocrd_workspace]
+level=DEBUG
+handlers=fileHandler
+qualname=ocrd.workspace
+#
+# logger tensorflow
+#
[logger_ocrd_tensorflow]
level=ERROR
handlers=consoleHandler
qualname=tensorflow
+#
+# logger shapely.geos
+#
[logger_ocrd_shapely_geos]
level=ERROR
handlers=consoleHandler
qualname=shapely.geos
+#
+# logger PIL
+#
+[logger_ocrd_PIL]
+level=INFO
+handlers=consoleHandler
+qualname=PIL
+
+
#
# handle stdout output
#
