@author: akursat
@website: akursat.com
This is an example of log4j over slf4j in java. This example include a custom class, named CustomException.java .
First of all, you must change path of log4j in log4j.properties file. You can easily edit "log4j.appender.file.File" attribute. Uses Maven. From the root of the project dir, type:
$ mvn install