Logback is intended as a successor to the popular log4j project, picking up where log4j leaves off.
Configuring the logback to bootstrap in the project is describe here. For more information, see the reference manual.
Dependencies
Configuring logback
Create a xml file with named logback.xml under resource directory of the web application.