Hi -

I am using PDFBOX in my application through maven. Using version 2.0.15, I
already have different logging in my application now, however, I also
notice that PDF box has its own logging, and I'd like to also log PDFBOX
output to a logfile when needing to debug it.

Is there any way that if I've already built my jar (containing pdfbox)
through command line parameters, I can get PDFBOX to log its DEBUG output
to a log file? A little confusing whether we do this through log4j or
through apache commons parameters.

i.e. java -jar my.jar -Dlog4j.logger.org.apache.component=DEBUG
-Dlog4j.appender.fileLogger.File=/opt/logs/example.log

or something similar?

Reply via email to