<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
&#1042; &#1055;&#1090;&#1085;, 07/08/2009 &#1074; 15:19 +0400, Alex, the Marrch Ca'at &#1087;&#1080;&#1096;&#1077;&#1090;:
<BLOCKQUOTE TYPE=CITE>
<PRE>
&#1044;&#1086;&#1073;&#1088;&#1086;&#1075;&#1086; &#1074;&#1089;&#1077;&#1084; &#1076;&#1085;&#1103; &#1080;&#1083;&#1080; &#1080;&#1085;&#1086;&#1075;&#1086; &#1074;&#1088;&#1077;&#1084;&#1077;&#1085;&#1080; &#1089;&#1091;&#1090;&#1086;&#1082;!

&#1071; &#1087;&#1086;&#1085;&#1080;&#1084;&#1072;&#1102;, &#1095;&#1090;&#1086; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1072; &#1080;&#1084;&#1077;&#1077;&#1090; &#1085;&#1077; &#1087;&#1088;&#1103;&#1084;&#1086;&#1077; &#1086;&#1090;&#1085;&#1086;&#1096;&#1077;&#1085;&#1080;&#1077; &#1082; &#1090;&#1077;&#1084;&#1077; &#1088;&#1072;&#1089;&#1089;&#1099;&#1083;&#1082;&#1080;, &#1085;&#1086;
&#1074;&#1077;&#1083;&#1080;&#1082;&#1072; &#1074;&#1077;&#1088;&#1086;&#1103;&#1090;&#1085;&#1086;&#1089;&#1090;&#1100;, &#1095;&#1090;&#1086; &#1082;&#1090;&#1086;-&#1090;&#1086; &#1091;&#1078;&#1077; &#1089;&#1090;&#1072;&#1083;&#1082;&#1080;&#1074;&#1072;&#1083;&#1089;&#1103; &#1089; &#1079;&#1072;&#1076;&#1072;&#1095;&#1077;&#1081; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1085;&#1080;&#1103;
AWStats &#1089; &#1083;&#1086;&#1075;&#1072;&#1084;&#1080; nginx &#1080; &#1084;&#1086;&#1078;&#1077;&#1090; &#1084;&#1085;&#1077; &#1095;&#1090;&#1086;-&#1090;&#1086; &#1087;&#1086;&#1089;&#1086;&#1074;&#1077;&#1090;&#1086;&#1074;&#1072;&#1090;&#1100;.
&#1060;&#1086;&#1088;&#1084;&#1072;&#1090; &#1083;&#1086;&#1075;&#1072; &#1091; &#1084;&#1077;&#1085;&#1103; &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1077;&#1085; &#1090;&#1072;&#1082;:

log_format main        '$host || $remote_addr || [$time_local] || &quot;$request&quot;
|| $status || $bytes_sent || &quot;$http_referer&quot; || &quot;$http_user_agent&quot; ||
$gzip_ratio';

&#1055;&#1086;&#1083;&#1091;&#1095;&#1072;&#1077;&#1090;&#1089;&#1103; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1085;&#1086; &#1089;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1077;&#1077;:

192.168.0.1 || 192.168.0.2 || [06/Aug/2009:19:01:49 +0000] || &quot;POST
/service.php HTTP/1.1&quot; || 200 || 30604 || &quot;-&quot; || &quot;PHP-SOAP/5.2.9&quot; || -
infosys.com || 92.100.52.133 || [06/Aug/2009:19:24:51 +0000] || &quot;GET /
HTTP/1.1&quot; || 404 || 283 || &quot;-&quot; || &quot;Mozilla/5.0 (Windows; U; Windows NT
5.1; ru; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13&quot; || 0.00

&#1060;&#1086;&#1088;&#1084;&#1072;&#1090; &#1083;&#1086;&#1075;&#1072; &#1074; awstats &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1077;&#1085; &#1090;&#1072;&#1082;:

LogType=W
LogFormat=&quot;%virtualname %host %time1 %methodurl %code %bytesd
%refererquot %uaquot %extra1&quot;
LogSeparator=&quot; || &quot;

- &#1080;, &#1089;&#1091;&#1076;&#1103; &#1087;&#1086; &#1074;&#1089;&#1077;&#1084;&#1091;, &#1101;&#1090;&#1086; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083;&#1100;&#1085;&#1086;, &#1087;&#1086;&#1089;&#1082;&#1086;&#1083;&#1100;&#1082;&#1091; &#1077;&#1089;&#1083;&#1080; &#1087;&#1086;&#1087;&#1099;&#1090;&#1072;&#1090;&#1100;&#1089;&#1103; &#1085;&#1077;&#1084;&#1085;&#1086;&#1075;&#1086;
&#1087;&#1086;&#1084;&#1077;&#1085;&#1103;&#1090;&#1100; &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1081;&#1082;&#1080; &#1092;&#1086;&#1088;&#1084;&#1072;&#1090;&#1072; - awstats &#1085;&#1077;&#1084;&#1077;&#1076;&#1083;&#1077;&#1085;&#1085;&#1086; &#1088;&#1091;&#1075;&#1072;&#1077;&#1090;&#1089;&#1103;, &#1095;&#1090;&#1086; &#1074;&#1089;&#1077;
&#1079;&#1072;&#1087;&#1080;&#1089;&#1080; &#1074; &#1083;&#1086;&#1075;&#1077; corrupted. &#1054;&#1076;&#1085;&#1072;&#1082;&#1086; &#1080; &#1074; &#1090;&#1072;&#1082;&#1086;&#1084; &#1074;&#1080;&#1076;&#1077; awstats &#1083;&#1086;&#1075;&#1080; &#1085;&#1077;
&#1074;&#1086;&#1089;&#1087;&#1088;&#1080;&#1085;&#1080;&#1084;&#1072;&#1077;&#1090;, &#1087;&#1088;&#1080;&#1095;&#1077;&#1084; &#1082;&#1088;&#1072;&#1081;&#1085;&#1077; &#1089;&#1090;&#1088;&#1072;&#1085;&#1085;&#1099;&#1084; &#1086;&#1073;&#1088;&#1072;&#1079;&#1086;&#1084;:

Dropped record (method/protocol '' not qualified when LogType=W):
192.168.0.1 || 192.168.0.2 || [06/Aug/2009:19:01:49 +0000] || &quot;POST
/service.php HTTP/1.1&quot; || 200 || 30604 || &quot;-&quot; || &quot;PHP-SOAP/5.2.9&quot; || -
Dropped record (method/protocol '' not qualified when LogType=W):
infosys.com || 92.100.52.133 || [06/Aug/2009:19:24:51 +0000] || &quot;GET /
HTTP/1.1&quot; || 404 || 283 || &quot;-&quot; || &quot;Mozilla/5.0 (Windows; U; Windows NT
5.1; ru; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13&quot; || 0.00

&#1071; &#1085;&#1077; &#1087;&#1086;&#1085;&#1080;&#1084;&#1072;&#1102;, &#1087;&#1086;&#1095;&#1077;&#1084;&#1091; awstats &#1085;&#1077; &#1084;&#1086;&#1078;&#1077;&#1090; &#1074;&#1099;&#1076;&#1077;&#1083;&#1080;&#1090;&#1100; method/protocol &#1080;&#1079; &#1101;&#1090;&#1080;&#1093;
&#1079;&#1072;&#1087;&#1080;&#1089;&#1077;&#1081;, &#1080; &#1087;&#1086;&#1095;&#1077;&#1084;&#1091; &#1091; &#1085;&#1077;&#1075;&#1086; &#1087;&#1086;&#1083;&#1091;&#1095;&#1072;&#1077;&#1090;&#1089;&#1103; &#1087;&#1091;&#1089;&#1090;&#1072;&#1103; &#1089;&#1090;&#1088;&#1086;&#1082;&#1072;. &#1071; &#1091;&#1078;&#1077; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1083; &#1085;&#1072;
&#1092;&#1086;&#1088;&#1091;&#1084; awstats, &#1085;&#1086; &#1090;&#1072;&#1084; &#1087;&#1086;&#1082;&#1072; &#1085;&#1080;&#1095;&#1077;&#1075;&#1086; &#1076;&#1077;&#1083;&#1100;&#1085;&#1086;&#1075;&#1086; &#1089;&#1082;&#1072;&#1079;&#1072;&#1090;&#1100; &#1085;&#1077; &#1084;&#1086;&#1075;&#1091;&#1090;. &#1053;&#1077;&#1090; &#1083;&#1080; &#1091;
&#1082;&#1086;&#1075;&#1086; &#1080;&#1076;&#1077;&#1081;, &#1095;&#1090;&#1086; &#1084;&#1086;&#1078;&#1077;&#1090; &#1073;&#1099;&#1090;&#1100; &#1085;&#1077; &#1090;&#1072;&#1082;? &#1040; &#1077;&#1089;&#1083;&#1080; &#1085;&#1077;&#1090; - &#1090;&#1086;, &#1077;&#1089;&#1083;&#1080; &#1091; &#1082;&#1086;&#1075;&#1086;-&#1090;&#1086; &#1077;&#1089;&#1090;&#1100;
&#1088;&#1077;&#1072;&#1083;&#1100;&#1085;&#1099;&#1077; &#1083;&#1086;&#1075;&#1080;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1091;&#1089;&#1087;&#1077;&#1096;&#1085;&#1086; awstats-&#1086;&#1084; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;&#1103;&#1090;&#1089;&#1103; - &#1090;&#1086;, &#1073;&#1091;&#1076;&#1100;&#1090;&#1077;
&#1076;&#1086;&#1073;&#1088;&#1099;, &#1089;&#1082;&#1080;&#1085;&#1100;&#1090;&#1077; &#1084;&#1085;&#1077; &#1082;&#1086;&#1085;&#1092;&#1080;&#1075; &#1083;&#1086;&#1075;&#1072; &#1074; nginx &#1080; &#1087;&#1072;&#1088;&#1072;&#1084;&#1077;&#1090;&#1088;&#1099; LogFormat /
LogSeparator &#1080;&#1079; &#1089;&#1086;&#1086;&#1090;&#1074;. &#1082;&#1086;&#1085;&#1092;&#1080;&#1075;&#1072; awstats.
</PRE>
</BLOCKQUOTE>
&#1047;&#1072;&#1095;&#1077;&#1084; &#1078;&#1077; &#1090;&#1072;&#1082; &#1074;&#1089;&#1077; &#1091;&#1089;&#1083;&#1086;&#1078;&#1085;&#1103;&#1090;&#1100;? &#1059;&#1084;&#1086;&#1083;&#1095;&#1072;&#1090;&#1077;&#1083;&#1100;&#1085;&#1099;&#1081; &#1092;&#1086;&#1088;&#1084;&#1072;&#1090; access &#1083;&#1086;&#1075;&#1072; nginx &#1087;&#1086;&#1076;&#1093;&#1086;&#1076;&#1080;&#1090; &#1087;&#1086;&#1076; &quot;LogFormat=W&quot; awstats'&#1072;. &#1042; &#1072;&#1090;&#1090;&#1072;&#1095;&#1077; &#1088;&#1072;&#1073;&#1086;&#1095;&#1080;&#1077; &#1082;&#1086;&#1085;&#1092;&#1080;&#1075;&#1077; &#1089; &#1080;&#1079;&#1084;&#1077;&#1085;&#1077;&#1085;&#1085;&#1099;&#1077; &#1076;&#1086;&#1084;&#1077;&#1085;&#1086;&#1084;... LogFile &#1085;&#1077;&#1089;&#1082;&#1086;&#1083;&#1100;&#1082;&#1086; &#1080;&#1079;&#1074;&#1088;&#1072;&#1097;&#1077;&#1085;&#1085;&#1099;&#1081; &#1080;&#1079;-&#1079;&#1072; &#1086;&#1089;&#1086;&#1073;&#1077;&#1085;&#1085;&#1086;&#1089;&#1090;&#1077;&#1081; &#1088;&#1086;&#1090;&#1072;&#1094;&#1080;&#1080; &#1083;&#1086;&#1075;&#1086;&#1074;.
</BODY>
</HTML>