Google Analytics中定义Apache的日志文件格式

游客

标题:Google Analytics中定义Apache的日志文件格式
正文:
Normal07.8 磅02falsefalsefalseEN-USZH-CNX-NONEMicrosoftInternetExplorer4/* Style Definitions */table.MsoNormalTable{mso-style-name:普通表格;mso-tstyle-rowband-size:0;mso-tstyle-colband-size:0;mso-style-noshow:yes;mso-style-priority:99;mso-style-qformat:yes;mso-style-parent:"";mso-padding-alt:0cm 5.4pt 0cm 5.4pt;mso-para-margin:0cm;mso-para-margin-bottom:.0001pt;mso-pagination:widow-orphan;font-size:10.5pt;mso-bidi-font-size:11.0pt;font-family:"Calibri","sans-serif";mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;mso-font-kerning:1.0pt;}Apache能以不同的自定义格式设置日志数据。Google Analytics最终的部分是记录cookie信息。建议在httpd.conf文件中使用完整的NCSA日志格式，如下所示： LogFormat &ldquo;%h %v %u %t &ldquo;%r&rdquo; %&gt;s %b &ldquo;%{Referer}i&rdquo; &ldquo;%{User-Agent}i&rdquo;&ldquo;%{Cookie}i&rdquo;&rdquo; combined 注意：从头至尾使
[<<][[1]][2][3][>>]

查看评论(6)
发表评论

首页