免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 9965 | 回复: 0
打印 上一主题 下一主题

[proxy] 关于squid需要注意的一些问题及不足 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2005-02-24 04:49 |显示全部楼层

关于squid需要注意的一些问题及不足

认同第一、二两个问题,对于第三个问题,我查了www.squid-cache.org的FAQ,发现不是用的格林威治标准时间(GMT),而是UTC时间(没搞清楚是什么含义, ,“Univer-sal Time Code-世界时间代码”?)。

原文引用如下:
access.log native format in detail
It is recommended though to use Squid's native log format due to its greater amount of information made available for later analysis. The print format line for native access.log entries looks like this:


    "%9d.%03d %6d %s %s/%03d %d %s %s %s %s%s/%s %s"


Therefore, an access.log entry usually consists of (at least) 10 columns separated by one ore more spaces:


time
A Unix timestamp as UTC seconds with a millisecond resolution. You can convert Unix timestamps into something more human readable using this short perl script:

        #! /usr/bin/perl -p
        s/^\d+\.\d+/localtime $&/e;
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP