Put a file like this in the class path and name it log4j.properties:
log4j.rootLogger=INFO, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss.SSS}
%-5p [%t] %C:%L - %m%n
log4j.logger.org.apache.pdfbox=ERROR
Am 05.12.2014 um 10:14 schrieb Gilad Denneboom:
Hi all,
Could anyone help with disabling the INFO logging that PDFBox generates?
I know it probably has to do with the log4j configuration, but if there's a
clear description of how it's done I'd appreciate it.
Gilad