java - How can I disable Apache Commons / Log4J logging in third party libraries? -
is there apache commons / log4j logging api method can used disable logging completely, loggers in third party libraries?
background: use java.util.logging in glassfish v3 web application. however, third party library in web app uses log4j logging , apache commons logging. save resources, logging should minimized or switched off.
edit log4j configuration , set logging level error or fatal
example hibernate:
log4j.logger.org.hibernate=error
this dwarf logging output zero, leaving critical error messages.
Comments
Post a Comment