Page 1 of 1

Docx4j debug issue

PostPosted: Fri Mar 21, 2014 9:05 pm
by serco123
I am getting below error when I am uploading a docx file on the web.

"TO HIDE THESE MESSAGES, TURN OFF debug level logging for org.docx4j.convert.out.common.writer.AbstractMessageWriter"

Re: Docx4j debug issue

PostPosted: Fri Mar 21, 2014 9:37 pm
by jason
DO what it says...

Are you using 3.0? If so, configure slf4j, using your preferred logging framework. The distribution may have come with log4j.

docx4j 2.8.1 and earlier used log4j, so you'd need to configure log4j.

Re: Docx4j debug issue

PostPosted: Mon Mar 24, 2014 6:39 pm
by serco123
In the log4j XML file I have configured the logger for 'org.docx4j.convert.out.common.writer.AbstractMessageWriter' and marked as OFF.
Actually I am having 2 websphere servers and both the servers are having the log4j.xml file. BUt I think that the code is not reading the xml file and not able to get the logger settings properly.

Re: Docx4j debug issue

PostPosted: Mon Mar 24, 2014 7:12 pm
by jason
Since that sounds like a generic log4j + websphere question, you should post it somewhere like StackOverflow.