What different level of logging you use while coding ?

Search Interview Questions

 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text


Interview Questions and Answers

 Q1. What different level of logging you use while coding ?Logging
Ans. I use trace for debugging purpose. Info for displaying some important info, thought its rare as we have enabled info logging in production. Warn in case something went wrong but we still resume the flow in spite of it or have take alternate flow as its expected sometimes. Error logging in case it was completely unexpected and mostly when it breaks the flow.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve             frequent

Related Questions

  Difference between StringBuffer and StringBuilder ?
 What are the problems one could face while working with serverless technologies like AWS Lambda ?
  What are some Java related technologies used for distributed computing ?
  What is JAXP ?
  What is JAXB ?
  Difference between socket and servlet ?
  What is Maven's order of inheritance?
  What is a Mojo?
  What are some different logging levels for log4j ?
 What is the difference between log4j and java logging api.

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: