Logging - Interview Questions and Answers for 'Logging' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

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

   



Logging - Interview Questions and Answers for 'Logging' - 6 question(s) found - Order By Newest

 Q1. What are some different logging levels for log4j ?Log4j
Ans. DEBUG
ERROR
ALL
WARN
INFO
FATAL
OFF
TRACE
TRACE_INT
WARN

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

   Like         Discuss         Correct / Improve     java   log4j   log4j level   logging   error logging     Asked in 10 Companies


 Q2. 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


 Q3. What are the different types of log files you have come across ?Logging
Ans. error , access , authentication , message , database etc

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

   Like         Discuss         Correct / Improve     logging  log files  types of log files


 Q4. Difference between log4j and slf4j ?Logging
 This question was recently asked at 'Y Media Labs'.This question is still unanswered. Can you please provide an answer.


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

   Like         Discuss         Correct / Improve     log4j vs slf4j     Asked in 1 Companies


 Q5. What is the difference between access and error log ?Logging
Ans. We log each access to the application resource within access logs, something like

"GET / HTTP/1.0" 200 113 "-" "Mozilla/5.0 zgrab/0.x" "-"

We log only error / warn messages within error logs, something like

ERROR 123#0: *19 connect() failed

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

   Like         Discuss         Correct / Improve     logging  access log  error log


 Q6. What is the use of Log4j ?Logging
 This question was recently asked at 'IBM'.This question is still unanswered. Can you please provide an answer.


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

   Like         Discuss         Correct / Improve          Asked in 1 Companies      basic



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: