Apche Log Series (1): Access log
Want to know when and what people are browsing the content of the site. See Apache's access log to know. The access log is the standard log for Apache, which explains in detail the contents of the Access log and the
1. Define the log formatA long time ago, there was only one log file format, which was a "public format" and many people were used to this format. The custom log format appeared later, and it seems that the custom log format is more popular, even
Apache Log Configuration
Sometimes we need to customize the format and content of the Apache default log, such as increasing or decreasing the information logged by the log, changing the format of the default log file, and so on. This article
Article title: Apache log: error log. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The error log and access
I want to solve the Linux system on the Apache WEB server error, apache error log files can not find, I would like to put in which directory?The Apache log file provides system administrators with useful information, such as troubleshooting the WEB
I. Log Analysis
If Apache is installed by default, two log files are generated when the server runs. The two files are access_log and error_log.
When the default installation method is used, these files can be found
Apache error log location on Debian,ubuntu or Linux MintDefault error logOn Debian-based Linux, the system-wide Apache error log default location is /var/log/apache2/error.log. The default location can be modified by editing the Apache configuration
I. Apache log type1.apache log is divided into: Access log, error log2. Level of log information
Degree of severity
Grade
Description
1
Emerg
System not available
2
Alert
A
Apache logs do not record Image File Settings
Setenv imag 1Customlog logs/access_log combined Env =! Imag
Apache logs: If you record all access requests, the file will be large. If you use log analysis software, the analysis results may not be
Error logs and access log files provide useful information for system administrators, such as troubleshooting Web servers, protecting the system from a variety of malicious activities, or simply conducting a variety of analyses to monitor HTTP
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.