Chinaunix首页 | 论坛 | 博客
  • 博客访问: 14995170
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: BSD

2008-10-31 15:56:26

公司要在分析日志,但怎么样也见不到?后面的的内容查了很多资料,最后发现.squid的access_log缺省是不记url里”?”后面的内容的原来在.conf里有个叫”strip_query_terms“的,缺省是打开的(ON) 设成off即可 squid文档里是这么写的:BSD爱好者乐园j-n ixOt%r9T)E/`2g
Tag Name         strip_qury_terms
)@)oB#h?ls3mUsage         strip_query_terms on|offBSD爱好者乐园0{ P4O-zw;S:z U+k
BSD爱好者乐园&\_,R Z.Q8s
Description Squid by default does not log query parameters. These parameters are however forwarded to the server verbatim. If we want to enable logging of query parameters, the strip_query_terms directive can be used . By default, Squid strips query terms from requested URLs before logging. This protects your user’s privacy
BpY2~-}rDefault         strip_query_terms on
阅读(1005) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~