I'm using GROBID as a Docker container. The default logging config is way to noisy for large scale production use, so I build a custom image based on the 0.7.2 version with just the grobid.yaml file replaced. The logging section of that file looks like this:
logging:
level: CRITICAL
loggers:
org.apache.pdfbox.pdmodel.font.PDSimpleFont: "OFF"
org.eclipse.jetty: "OFF"
org.grobid: "OFF"
io.dropwizard: "OFF"
com.hubspot: "OFF"
org.glassfish: "OFF"
appenders:
- type: console
threshold: CRITICAL
timeZone: UTC
It already troubled me that I had to set all those loggers to "OFF". They just ignored the configured log level, which makes the whole setup ridiculous, but perhaps I'm just missing something. So I disabled them, got much less logs (which proves that the file is used), but still get access logs.logging: level: CRITICAL loggers: org.apache.pdfbox.pdmodel.font.PDSimpleFont: "OFF" org.eclipse.jetty: "OFF" org.grobid: "OFF" io.dropwizard: "OFF" com.hubspot: "OFF" org.glassfish: "OFF" appenders: - type: console threshold: CRITICAL timeZone: UTC
When processing millions of files I don't want to have millions of access log lines. Can anybody explain to me how to disable them?