Log4J

How would we use log4J in our applications? Is it necessary to use log4J applications in our web application?

Questions by anupamaj

Showing Answers 1 - 3 of 3 Answers

To implement log4j in the web application there are different way.

1.we have to write a common logger class.
2.we have to configure corresponding class in web.xml and
3. we have to configure the properties file .

yes it is necessary to provide log4j as part of our application .with the help of this we can understand the reason
of failure,what the application is doing,what the application has done etc..

  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