I am new to Log4J. While searching over net I got the below doubts.
1) Why there are multiple levels in log4j, I mean DEBUG, INFO etc? When I need to a specific one?
2) Consider INFO is for information, if any of my code wher I need to use logger.info(). But I used logger.debug().So system will throw any exception?
3) what is log4j.properties file? explain the code inside that
4) how to configure log4j with tomcat. how to switch on or off??
Please clarify my doubts.
Thanks & Regards,