How do I filter log messages from external third party frameworks? I am using Hibernate and Spring framework and I would like to suppress the logs so that only my log4j logs
In log4j.properties you can define individual levels on a per logger basis:
log4j.logger.=FATAL
In log4j.xml the syntax is
is often the full qualified classname. You might want to use WARN or ERROR instead of FATAL