I am crawling using Crawler4J.
I don't want to print log messages.
But Crawler4J has a logger in it.
How can I disable logger inner Crawler4J lib?
Crawler4J is using slf4j
API and logback
as implementation. There was an issue about having the logback.xml
file inside the build jar, and it was fixed.
Please make sure that you have the latest version and you don't have the file logback.xml
inside the crawler4j jar.
You can disable the logging by providing your own logback.xml
file with the level set to OFF
like this question.