Page 1 of 1

Enabling Debug Log

PostPosted:Fri Jun 16, 2023 8:35 pm
by patson
Hi Forum,

maybe this is a stupid question. I searched already for enabling the debug log, because my OCR isn't working properly.
But checking the docs, I only find this:
https://docs.openkm.com/kcenter/view/ok ... ation.html
But I have no $TOMCAT_HOME/conf/log4j.properties. I only have a logging.properties. But this looks completely different to log4j-config-file.

Where can I enable the debug log for the "openkm.log", so that I can see, what OCR-commands are executed?

Thank you and have a good evening!

Re: Enabling Debug Log

PostPosted:Fri Jun 23, 2023 4:01 pm
by jllort
You have a logback.xml file in the Tomcat folder. There's the place where you must update to get more logs -> finally when the logback.xml file is updated the changes take effect after restarting the OpenKM service.

Why do you think the OCR engine is not working?