Hi, I want tika server to give DEBUG level logs and it should be written to a log file.
I am running tika-server via this command java -jar tika-server.jar -h 0.0.0.0 -p 9998 but for every file it only displays just one message to stdout- "Tika auto detecting type" i used "java -jar tika-server.jar -h 0.0.0.0 -p 9998 -l debug -s" command to run tika but still no success. For writing stdout msg to a log file i tried to modify commoms-logging.properties file and used Log4JLogger but it always prompt that class cannot be found or is not usable. The changed content of commons-logging.properties looks like this org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger handlers = java.util.logging.FileHandler # Set the default logging level for the root logger .level = DEBUG # Set the default logging level for new FileHandlerinstances java.util.logging.FileHandler.level = DEBUG # Set the default formatter for new FileHandlerinstances java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter org.apache.cxf.level = DEBUG Please help me out on this one. Thanks, Rahul Khandelwal -- View this message in context: http://lucene.472066.n3.nabble.com/Get-DEBUG-level-log-in-tika-server-tp4228209.html Sent from the Apache Tika - Development mailing list archive at Nabble.com.