zoukankan      html  css  js  c++  java
  • 微信商城 Common Log Format Apache CustomLog

    w

    0-

    180.153.206.16 - - [06/Apr/2017:06:36:26 +0800] "GET /rockmongo HTTP/1.1" 200 203 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36"
    101.226.79.182 - - [06/Apr/2017:06:46:06 +0800] "GET /server-status HTTP/1.1" 403 518 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36"
    101.226.51.229 - - [06/Apr/2017:06:49:55 +0800] "GET /wikilib.d/PmWiki.ChangeLog HTTP/1.1" 200 203 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; rv:11.0) like Gecko"
    125.39.207.33 - - [06/Apr/2017:06:50:54 +0800] "GET / HTTP/1.1" 200 166 "-" "Python-urllib/2.7"
    183.57.53.196 - - [06/Apr/2017:06:51:20 +0800] "GET /skins/vector/csshover.htc HTTP/1.1" 200 166 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_4 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13G35 QQ/6.5.3.410 V1_IPH_SQ_6.5.3_1_APP_A Pixel/750 Core/UIWebView NetType/2G Mem/117"
    180.153.214.199 - - [06/Apr/2017:06:51:29 +0800] "GET /skins/vector/csshover.htc HTTP/1.1" 200 203 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
    112.90.82.218 - - [06/Apr/2017:06:52:46 +0800] "GET /4e5e5d7364f443e28fbf0d3ae744a59a HTTP/1.1" 200 166 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_4 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13G35 QQ/6.5.3.410 V1_IPH_SQ_6.5.3_1_APP_A Pixel/750 Core/UIWebView NetType/2G Mem/117"
    101.226.66.191 - - [06/Apr/2017:06:52:56 +0800] "GET /4e5e5d7364f443e28fbf0d3ae744a59a HTTP/1.1" 200 203 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.104 Safari/537.36 Core/1.53.2141.400 QQBrowser/9.5.10219.400"
    112.90.82.218 - - [06/Apr/2017:06:55:41 +0800] "GET /jenkins HTTP/1.1" 200 166 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_4 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13G35 QQ/6.5.3.410 V1_IPH_SQ_6.5.3_1_APP_A Pixel/750 Core/UIWebView NetType/2G Mem/117"
    180.153.201.66 - - [06/Apr/2017:06:55:51 +0800] "GET /jenkins HTTP/1.1" 200 203 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36"
    107.151.148.193 - - [06/Apr/2017:07:03:38 +0800] "GET http://www.proxyjudge.info/azenv.php HTTP/1.1" 200 166 "-" "Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1; Trident/5.0)"
    107.151.148.193 - - [06/Apr/2017:07:03:42 +0800] "CONNECT www.alipay.com:443 HTTP/1.1" 200 147 "-" "-"
    107.151.148.193 - - [06/Apr/2017:07:03:42 +0800] "x80x9bx01x03x01" 400 0 "-" "-"
    180.153.211.190 - - [06/Apr/2017:07:29:03 +0800] "GET / HTTP/1.1" 200 203 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) 			Chrome/55.0.2883.95 Safari/537.36"
    180.153.214.199 - - [06/Apr/2017:07:33:04 +0800] "GET /%2525252525252525252525252525252525252525252525252520l.php HTTP/1.1" 200 203 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
    80.82.78.38 - - [06/Apr/2017:07:34:01 +0800] "GET http://www.baidu.com/cache/global/img/gs.gif HTTP/1.1" 200 147 "-" "Mozilla"
    180.153.214.192 - - [06/Apr/2017:08:18:59 +0800] "GET /phpmyadmin/index.php HTTP/1.1" 200 203 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; rv:11.0) like Gecko"
    119.23.140.203 - - [06/Apr/2017:08:19:28 +0800] "GET / HTTP/1.1" 200 166 "-" "-"
    107.151.148.193 - - [06/Apr/2017:08:22:06 +0800] "GET http://fr.cyberpods.net/ HTTP/1.1" 200 166 "-" "Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1; Trident/5.0)"
    107.151.148.193 - - [06/Apr/2017:08:22:06 +0800] "CONNECT www.baidu.com:443 HTTP/1.1" 200 147 "-" "-"
    107.151.148.193 - - [06/Apr/2017:08:22:07 +0800] "x80x9bx01x03x01" 400 0 "-" "-"
    121.15.13.186 - - [06/Apr/2017:08:34:31 +0800] "GET / HTTP/1.1" 200 203 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)"
    183.49.41.252 - - [06/Apr/2017:08:34:57 +0800] "GET /favicon.ico HTTP/1.1" 200 9908 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; 360space)" 
    113.116.198.50 - - [06/Apr/2017:20:43:37 +0800] "GET /?wrequest_uri=L0hvdEl0ZW0v&code=011fU2971iQFxP198o771dJ7971fU29D&state=0 HTTP/1.1" 302 259 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.373.400 QQBrowser/9.0.2524.400"
    113.116.198.50 - - [06/Apr/2017:20:43:37 +0800] "GET /HotItem/?cw=w0u7B6ta0CSE HTTP/1.1" 200 4188 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.373.400 QQBrowser/9.0.2524.400"
    113.116.198.50 - - [06/Apr/2017:20:43:38 +0800] "GET /wsta/witem/@w@ HTTP/1.1" 302 427 "http://www.w.cn/HotItem/?cw=w0u7B6ta0CSE" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.373.400 QQBrowser/9.0.2524.400"
    113.116.198.50 - - [06/Apr/2017:20:43:52 +0800] "GET /HotItem/ HTTP/1.1" 302 420 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.373.400 QQBrowser/9.0.2524.400"
    113.116.198.50 - - [06/Apr/2017:20:43:55 +0800] "GET /?wrequest_uri=L0hvdEl0ZW0v&code=051UybWm13AkCk0sRXVm19hoWm1UybW7&state=0 HTTP/1.1" 302 259 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.373.400 QQBrowser/9.0.2524.400"
    113.116.198.50 - - [06/Apr/2017:20:43:55 +0800] "GET /HotItem/?cw=w0u7B6ta0CSE HTTP/1.1" 200 4188 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.373.400 QQBrowser/9.0.2524.400"
    113.116.198.50 - - [06/Apr/2017:20:43:55 +0800] "GET /wsta/witem/@w@ HTTP/1.1" 302 427 "http://www.w.cn/HotItem/?cw=w0u7B6ta0CSE" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.373.400 QQBrowser/9.0.2524.400"

    http://httpd.apache.org/docs/2.4/logs.html

    Access Log

    The server access log records all requests processed by the server. The location and content of the access log are controlled by the CustomLog directive. The LogFormat directive can be used to simplify the selection of the contents of the logs. This section describes how to configure the server to record information in the access log.

    Of course, storing the information in the access log is only the start of log management. The next step is to analyze this information to produce useful statistics. Log analysis in general is beyond the scope of this document, and not really part of the job of the web server itself. For more information about this topic, and for applications which perform log analysis, check the Open Directory.

    Various versions of Apache httpd have used other modules and directives to control access logging, including mod_log_referer, mod_log_agent, and the TransferLogdirective. The CustomLog directive now subsumes the functionality of all the older directives.

    The format of the access log is highly configurable. The format is specified using a format string that looks much like a C-style printf(1) format string. Some examples are presented in the next sections. For a complete list of the possible contents of the format string, see the mod_log_config format strings.

    Common Log Format

    A typical configuration for the access log might look as follows.

    LogFormat "%h %l %u %t "%r" %>s %b" common
    CustomLog logs/access_log common
  • 相关阅读:
    软工15结对编程练习
    软件工程网络201521123108阅读作业2-提出问题
    软件工程网络15个人阅读作业1(201521123108 余腾鑫)
    java课程设计——算术运算测试个人博客
    java课程设计-算术运算测试
    201521123108《Java程序设计》第14周学习总结
    201521123108 《Java程序设计》第13周学习总结
    个人作业5——软工个人总结
    软工网络15个人作业4——alpha阶段个人总结
    软件工程网络15个人作业3——案例分析(201521123107)
  • 原文地址:https://www.cnblogs.com/rsapaper/p/6675333.html
Copyright © 2011-2022 走看看