Apache Logging Basics | apache proxy log
ApacheLoggingBasicsTheApachelogrecordseventshandledbytheApachewebserver,includingrequestsfromothercomputers,responsessentbyApache,andactionsinternaltotheApacheserver.ThissectionoftheguideexplainsthebasicsofApachelogging,includingthetypesoflogsgeneratedbyApache,wherethey’restored,andhowtointerpretthem.We’llalsocoveradvancedtopicssuchassettingcustomlogformatsandconfiguringmodulestogetricherdata.TypesofApacheLogsApachegeneratestwokindsoflogs:accesslogsanderrorlogs.AccessLogTheaccesslogcontainsi...
Apache Logging BasicsThe Apache log records events handled by the Apache web server, including requests from other computers, responses sent by Apache, and actions internal to the Apache server. This section of the guide explains the basics of Apache logging, including the types of logs generated by Apache, where they’re stored, and how to interpret them. We’ll also cover advanced topics such as setting custom log formats and configuring modules to get richer data.
Types of Apache LogsApache generates two kinds of logs: access logs and error logs.
Access LogThe access log contains information about requests coming into the web server. This information can include what pages people are viewing, the success status of requests, and how long the server took to respond. Here’s an example of a typical access log entry:
10.185.248.71 - - [09/Jan/2015:19:12:06 +0000] 808840 "GET /inventoryService/inventory/purchaseItem?userId=20253471&itemId=23434300 HTTP/1.1...