Tag: Java
-
Managing Log4j Configuration for Both Development and Production Environments
PROBLEM Most of the time, we set the Log4j’s log levels to something lower (debug or info) during our local development. Once it is ready for production, we normally set the Log4j’s log levels to something higher (warn or even error) to prevent meaningless information from flooding the server log. One way to do this Read More…
-
Configuring Cobertura Exclusion to Work with Maven Site
PROBLEM The Cobertura Maven Plugin doesn’t respect the exclusion configuration. For example, if you have the following pom.xml, the exclusion configuration does absolutely nothing when you execute mvn site. SOLUTION To fix this, you will need to define the Cobertura Maven Plugin under both <build> and <reporting>. Read More…