What is Log4j in java

Questions by sadashivarao   answers by sadashivarao

Showing Answers 1 - 2 of 2 Answers

Anindya Mandal

  • Aug 9th, 2006

Log4j is the property file where you can assign the current application mode in"DEBUG", "INFO", "ERROR", "WARN" etc.sO at the time of  running the application you can see "DEBUG" , "ERROR", etc. related  messages in Tomcat Webserver.

  Was this answer useful?  Yes


  • May 17th, 2007

Log4j is apache project...API used for logging purpose..You can have five various category of log defined and while coding you can write log as per the category..viz DEBUG,INFO,WARN,ERROR,FATAL..
for gib projecct its advisable to use log4j instead of system.out.println.


  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions