Log Series-Nginx Log Analysis

Source: Internet
Author: User


Log Series-Nginx log analysis Nginx logs can be divided into two types: user access logs and Nginx error logs. Nginx error logs generally record PHP running errors. [Plain] error_log/usr/local/nginx.1.0.5/nginx_error.log crit; access log of www.2cto.com Nginx: access information is generally recorded, including the source IP address and other information. [Plain] log_format payaccess' $ remote_addr-$ remote_user [$ time_local] "$ request" ''$ status $ response" $ http_referer "'' "$ http_user_agent" $ http_x_forwarded_for '; s_log/usr/local/nginx.1.0.5/logs/pay. log Payaccess; Author: initphp

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.