As posted by Roberto Nibali to the mailing list:
I recently ran some tests using the preflight core, and wondered about the
java -jar preflight-app/target/preflight-app-2.0.0-SNAPSHOT.jar xml batch
log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
The online PDFBox FAQ (kind of) told me how to solve this. However, using
the example log4j.xml from PDFBox yields the following:
-jar preflight-app/target/preflight-app-2.0.0-SNAPSHOT.jar xml batch
log4j:ERROR No appender named [console] could be found.
log4j:ERROR No appender named [rolling-file] could be found.
My suggestion is to replace it with this for starters:
Additionally, the FAQ entries should be updated with a correct example
regarding the 'java -jar ..." case.