1

Want to enable debug logs in Apache tika container. Tried following Tika config configuration through tika-config.xml, but do not see any debug logs getting printed.

<?xml version="1.0" encoding="UTF-8"?>
<properties>
    <server>
        <params>
            <logLevel>debug</logLevel>
            <taskTimeoutMillis>3600000</taskTimeoutMillis>
        </params>
    </server>
</properties>
Olaf Kock
  • 46,930
  • 8
  • 59
  • 90

1 Answers1

0

There's a file log4j2.xml in the jar file, edit that one and put it back.

Alternatively, make your own, and use it with

-Dlog4j.configuration=file:./log4j.xml

when starting the server.

Tilman Hausherr
  • 17,731
  • 7
  • 58
  • 97