Skip to content

Commit

Permalink
Revert "Update mets-mods2tei version and adjust ocrd_logging.conf to …
Browse files Browse the repository at this point in the history
…user file logger instead of conflicting systemdhandler"

This reverts commit df6cec1.
  • Loading branch information
bertsky committed Dec 13, 2023
1 parent ca89dbf commit fe31d54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,7 @@ RUN chmod go+r $ACTIVEMQ_CLIENT
ENV ACTIVEMQ_CLIENT_QUEUE FinalizeTaskQueue

# install mets-mods2tei (for METS updates outside of OCR-D workspace)
#RUN pip install mets-mods2tei
# workaround until https://github.com/slub/mets-mods2tei/pull/68 is merged and released:
RUN apt-get install git && \
git clone --branch adjustments-for-mets-server-option https://github.com/markusweigelt/mets-mods2tei && \
cd mets-mods2tei && \
pip install .

RUN pip install mets-mods2tei
# install page-to-alto (for ALTO conversion outside of OCR-D workflow)
RUN pip install ocrd-page-to-alto
# install mongosh (for job information)
Expand Down
6 changes: 2 additions & 4 deletions ocrd_logging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,10 @@ qualname=PIL
#
[handler_consoleHandler]
#class=StreamHandler
#class=logging.handlers.SysLogHandler
class=logging.NullHandler
class=logging.handlers.SysLogHandler
formatter=defaultFormatter
#args=(sys.stderr,)
#args=('/dev/log', 'user')
args=()
args=('/dev/log', 'user')

#
# example logfile handler
Expand Down

0 comments on commit fe31d54

Please sign in to comment.