How to use logging
The framework uses the slf4j as logging framework. It uses the log4j implementation internally. Everything is already configured and there is already a log4j.properties files in the etc subdirectory. When you build a new project the properties files will already contain a file logger for your base package. You can tweak the settings to your own needs of course. Using a logger in your code requires something like:
import org.slf4j.Logger; import org.slf4j.LoggerFactory;public class MyClass {
private Logger logger = LoggerFactory.getLogger(MyClass.class);
Please refer to the log4j documentation for more details.