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
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
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. 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 Operating mechanism Analysis:1. b/S Interactive processInteractive procedures for browsers (BROWSER) and servers (WEB server):1. The browser makes an HTTP request to the server (request).2, the server receives the browser request data, after
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
Have not found Apache log file generated more than a day, not generally big, if you Apache installed in the C drive, that can be miserable, not a few days hard disk is full, too scary, there is no way to optimize the log, so it is not so big? The
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.