squid代理服务器怎么没有时间纪录?????

squid代理服务器怎么没有时间纪录?????

我配置一台squid代理服务器,Redhat Linux7.1,squid运行正常,下面就是我的access.log文件的内容,根本没有时间纪录,也许是我设置的问题,我是一个linux新手,第一次配置squid,请教各位如何设置呢?

1007436242.254     32 192.168.1.83 TCP_MISS/200 902 GET http://image2.sina.com.cn/sms/nokiapic/3049.GIF - DIRECT/61.136.61.72 image/gif
1007436242.383   1273 192.168.1.83 TCP_MISS/200 23299 GET http://ad4.sina.com.cn/button/mte2e-movebt2.swf - DIRECT/61.136.61.79 application/x-shockwave-flash
1007436242.415     32 192.168.1.83 TCP_MISS/200 998 GET http://image2.sina.com.cn/sms/nokiapic/3058.GIF - DIRECT/61.136.61.72 image/gif
1007436242.437    236 192.168.1.83 TCP_MISS/200 982 GET http://image2.sina.com.cn/sms/nokiapic/3039.GIF - DIRECT/61.163.241.7 image/gif
1007436242.512     74 192.168.1.83 TCP_MISS/200 847 GET http://image2.sina.com.cn/sms/nokiapic/3063.GIF - DIRECT/61.136.61.72 image/gif
1007436242.566    312 192.168.1.83 TCP_MISS/200 805 GET http://image2.sina.com.cn/sms/nokiapic/3045.GIF - DIRECT/61.163.241.7 image/gif
1007436242.760    117 192.168.1.83 TCP_MISS/200 834 GET http://image2.sina.com.cn/sms/nokialarge/1914.GIF - DIRECT/61.136.61.72 image/gif
1007436242.859     41 192.168.1.83 TCP_MISS/200 768 GET http://image2.sina.com.cn/sms/nokialarge/1873.GIF - DIRECT/61.136.61.72 image/gif
1007436242.861    295 192.168.1.83 TCP_MISS/200 685 GET http://image2.sina.com.cn/sms/nokialarge/1818.GIF - DIRECT/61.163.241.7 image/gif
1007436242.908     46 192.168.1.83 TCP_MISS/200 734 GET http://image2.sina.com.cn/sms/nokialarge/1892.GIF - DIRECT/61.136.61.72 image/gif
1007436242.977     68 192.168.1.83 TCP_MISS/200 739 GET http://image2.sina.com.cn/sms/nokialarge/1891.GIF - DIRECT/61.136.61.72 image/gif
1007436243.088    220 192.168.1.83 TCP_MISS/200 692 GET http://image2.sina.com.cn/sms/nokialarge/1857.GIF - DIRECT/61.163.241.7 image/gif
1007436243.145     57 192.168.1.83 TCP_MISS/200 720 GET http://image2.sina.com.cn/sms/nokialarge/1920.GIF - DIRECT/61.136.61.72 image/gif
1007436243.168     22 192.168.1.83 TCP_MISS/200 878 GET http://image2.sina.com.cn/sms/nokiapic/3068.GIF - DIRECT/61.136.61.72 image/gif
1007436243.217     49 192.168.1.83 TCP_MISS/200 926 GET http://image2.sina.com.cn/sms/nokiapic/3067.GIF - DIRECT/61.136.61.72 image/gif
1007436243.346    221 192.168.1.83 TCP_MISS/200 809 GET http://image2.sina.com.cn/sms/nokiapic/3078.GIF - DIRECT/61.163.241.7 image/gif
1007436243.357     91 192.168.1.83 TCP_MISS/200 932 GET http://image2.sina.com.cn/sms/nokiapic/3051.GIF - DIRECT/61.136.61.72 image/gif
:confused:       
怎么没有
TCP_MISSIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:45 +0800] "GET http://www.sina.com.cn/ HTTP/1.0" 200 80734 TCP_MISSIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:46 +0800] "GET http://image2.sina.com.cn/dailynews/timelog.js HTTP/1.0" 304 98 TCP_MISSIR
ECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:46 +0800] "GET http://image2.sina.com.cn/home/images/home01.gif HTTP/1.0" 200 347 TCP_MISS:
DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:46 +0800] "GET http://wf.sina.com.cn/c/c.cgi HTTP/1.0" 200 290 TCP_MISSIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:46 +0800] "GET http://image2.sina.com.cn/home/images/sina_logo2.gif HTTP/1.0" 200 2657 TCP_
MISS:DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:46 +0800] "GET http://image2.sina.com.cn/c.gif HTTP/1.0" 304 98 TCP_MISS:DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:46 +0800] "GET http://ad4.sina.com.cn/button/haier1229.swf HTTP/1.0" 200 5158 TCP_MISS:DIRE
CT
218.99.1.116 chenlf - [30/Dec/2001:09:05:46 +0800] "GET http://ad4.sina.com.cn/button/hpbl.gif HTTP/1.0" 200 9841 TCP_MISS:DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:46 +0800] "GET http://ad4.sina.com.cn/btn/jm-btn.swf HTTP/1.0" 200 17978 TCP_MISS:DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:46 +0800] "GET http://ad4.sina.com.cn/button/diangebt100.GIF HTTP/1.0" 200 6783 TCP_MISS:DI
RECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://ad4.sina.com.cn/banner/chinamobile1.swf HTTP/1.0" 200 29339 TCP_MISS:
DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://image2.sina.com.cn/ml/121801.GIF HTTP/1.0" 200 1254 TCP_MISS:DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://image2.sina.com.cn/sms/logo/6236.GIF HTTP/1.0" 200 654 TCP_MISS:DIREC
T
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://image2.sina.com.cn/sms/logo/6195.GIF HTTP/1.0" 200 651 TCP_MISS:DIREC
T
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://image2.sina.com.cn/sms/logo/6196.GIF HTTP/1.0" 200 597 TCP_MISS:DIREC
T
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://ad4.sina.com.cn/button/tclcomputertl.swf HTTP/1.0" 200 33381 TCP_MISS
:DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://image2.sina.com.cn/sms/sh/0024.gif HTTP/1.0" 200 1120 TCP_MISS:DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://image2.sina.com.cn/sms/sh/dg18.gif HTTP/1.0" 200 1096 TCP_MISS:DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://image2.sina.com.cn/ml/122501.GIF HTTP/1.0" 200 2637 TCP_MISS:DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://home.sina.com.cn/images/hptitle.gif HTTP/1.0" 302 557 TCP_MISS:DIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:47 +0800] "GET http://image2.sina.com.cn/home/images/c.gif HTTP/1.0" 200 338      
你的时间是怎么显示出来的。
TCP_MISSIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:45 +0800] "GET http://www.sina.com.cn/ HTTP/1.0" 200 80734 TCP_MISSIRECT
218.99.1.116 chenlf - [30/Dec/2001:09:05:46 +0800] "GET http://image2.sina.com.cn/dailynews/timelog.js HTTP/1.0" 304 98      
呵呵
你的时间怎么去掉的?      
你用的squid是什么版本,你的squid.conf中的怎么设置的,我的log选项全都是默认设置。

是这样吗debug_options ALL,1      
将squid.conf文件中的emulate_httpd_log变量改为on,然后重起squid就可以了
      
ok!搞定