เปิดรับสมัครสมาชิก webboard ตามปกติแล้วครับ

ผู้เขียน หัวข้อ: ขอความกรุณาท่านเทพทั้งหลายช่วยชี้แนะการสร่างที่เก็บ log ของ squid2.6ด้วยครับมือใหม่ไม่มีความรู้  (อ่าน 3936 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ k1

  • มือใหม่
  • *
  • กระทู้: 3
  • Reputation: 0
 :002:พึ่งเริ่มเรียนรู้และได้ติดตั้งsquid2.6 แต่ไม่ทราบวิธีอ่านหรือตั้งค่าการเก็บล็อคไฟล์เนื่องจากไม่มีความรู้ทางนี้เลยแต่อยากเพิ่มประสพการขอวอนท่านเทพทั้งหลายช่ายชี้แนะข้าน้อยตาดำๆด้วยเถิดจักเป็นพระคุณยิ่ง
Signature cleanned by Admin

ออฟไลน์ oek2002

  • ผ่านการทดสอบเลื่อนชั้น
  • **
  • กระทู้: 33
  • Reputation: 1
ลองใส่ตัวนี้สิครับ

logformat squid  %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt
logformat squidmime  %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt [%>h] [%<h]
logformat common %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st %Ss:%Sh
logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
access_log c:/squid/access.log squid
cache_store_log c:/squid/store.log squid
cache_log  c:/squid/cache.log squid
Signature cleanned by Admin