Open cowwoc opened 1 year ago
You can eliminate dependencies on built-in logging when introducing docx4j
`
<artifactId>docx4j-ImportXHTML</artifactId>
<version>8.3.10</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
</exclusions>
</dependency>`
This method can reduce the log output at startup, but when using docx4j, there will be many logs, you can change the docx4j log level to ERROR in your own log configuration file。
Version 11.4.9
I suggest using DEBUG level logging for this stuff. As far as I can tell, there is nothing to warn about here. Even INFO is a bit excessive given that the code is just confirming that the configuration is being applied. If I had configuration problems, I'd enable DEBUG.