Page 1 of 1

Turn on Logging

PostPosted: Fri Oct 31, 2014 10:29 pm
by surfspider
How can I turn on logging for docx4j?

I am using version 3.2.1 with WildFly 8.1 server but i can't see any log informations in the console or in the log files.

Thank you in advance for your answer.

Re: Turn on Logging

PostPosted: Sat Nov 01, 2014 7:34 am
by jason
docx4j uses slf4j, so add your favourite implementation.

Depending on how you've added docx4j and its dependencies, log4j implementation (slf4j-log4j12) may already be included.

For log4j, there is a sample config file at https://github.com/plutext/docx4j/blob/ ... /log4j.xml

I