I am using a third party jar that has lots of System.out.println()
. I am not interested in those messages. It also uses slf4j logs that I am interested in.
So how do I filter out System.out.println()
messages in my stdout. Is there a quick way? I am trying to avoid writing any script to parse the whole log and keep only the relevant one. I am using maven.
I would prefer to do logger log as stdout and system.out as file.. so that I can see relevant log while build is running in build environment.