Elasticsearch log

I am using ingest-mapper to digest PDF files. I got a lot of Warning message on package org.apache.pdfbox.pdmodel.font. Anybody knows how to turn off these kind of messages? I tried to tweak log4j2.properties but seems no luck.


log42.properties is the way to go I think. What did you try so far actually?

logger.log.org.apache.pdfbox.pdmodel.font.PDFont = OFF
logger.org.apache.pdfbox.pdmodel.font.PDFont = OFF
log4j.log.org.apache.pdfbox.pdmodel.font.PDFont = OFF
log4j.log.org.apache.pdfbox = OFF

Instead of OFF, can you try FATAL?

No luck...

May be you need to create a config/ingest-attachment/log4j2.properties and put that in it?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.