apache.pdfbox.pdfparser.XrefTrailerResolver flood in log

Pavel Potcheptsov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 19, 2016

My log is flooded with

WARN [scheduler_Worker-1] [apache.pdfbox.pdfparser.XrefTrailerResolver] setStartxref Did not found XRef object at specified startxref position 12345

Is it possible to resolve this somehow? And what this warning means?

1 answer

1 accepted

0 votes
Answer accepted
Pavel Potcheptsov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2016

It seems that I was able to fix this by adding line

log4j.logger.org.apache.pdfbox=ERROR

to /confluence/WEB-INF/classes/log4j.properties and restarting Confluence.

To verify:

  • upload pdf file to page and you will see such WARN in log
  • make changes in log4j and try to upload another pdf file. Now there are no such WARNs in log

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events