I\'m using HtmlUnit to interact with a web page that interacts with the server via Ajax. Soon after the Ajax code starts, HtmlUnit produces these two log messages:
If using Spring, spring uses LogBack by default so you can create a logback.xml or logback-test.xml in 'main/resources/' or 'test/resources' folder.
You can set log level by package like this:
%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n