วันอังคารที่ 6 มกราคม พ.ศ. 2552

ปรับ access log ให้อ่านได้

สำหรับ squid 2.5 นะครับ...2.6 อีกวิธีหนึ่ง
ส่วน 2.5
# emulate_httpd_log on
เอาเครื่องหมาย # หน้า emulate_httpd_log on ออก

1 ความคิดเห็น:

ไม่ระบุชื่อ กล่าวว่า...

logformat common %)a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %(st %Ss:%Sh
access_log /var/log/squid/access.log common

สำหรับ 2.6 ขึ้นไป เปลื่อนเครื่องหมาย ( เป็นมากกว่าน้อยกว่าด้วย