What is the difference between access and error log ?
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

   



Interview Questions and Answers

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


Related Questions

  What are some different logging levels for log4j ?
 What is the difference between log4j and java logging api.
 What different level of logging you use while coding ?
 What are the different types of log files you have come across ?
 In following log4j configuration file, How should we change the logging level to WARN

<Configuration status="DEBUG">
<Appenders>
<RollingFile name="File" fileName="logs/xyz.log" filePattern="logs/xyz-%d{MM-dd-yyyy}.log.gz">
      <TimeBasedTriggeringPolicy />
   </RollingFile>
</Appenders>
<Loggers>
<Root level="DEBUG">
<AppenderRef ref="File" />
</Root>
</Loggers>
</Configuration>
 What are the application Logging levels specified in your applications ?
 What should be the logging level while logging exceptions ?
 What is the difference between INFO and DEBUG logging levels ?
 What is the difference between DEBUG and TRACE logging levels ?



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: