Archive for June, 2011

[Tutorial] Log4J with Maven profiles

June 25th, 2011 No comments

Here is a quick tutorial to get your hands dirty with the Log4j logging framework.
Log4j allows logging requests to print to multiple output destinations, also known as appenders.
There are several output destinations: console, files, sockets, emails …
First create a Maven project :
mvn archetype:generate
Choose archetype number 109 (quickstart)

Read more…

Categories: Log4j, Maven Tags: