December 12, 2017, 02:11:49 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: access.log problem  (Read 2526 times)

Offline muthu

  • Linux Noob !
  • *
  • Posts: 17
access.log problem
« on: March 29, 2005, 09:53:00 AM »
Hi all,

I am using Red hat linux-9 and i am using squid-proxy server. and i have set user-authendication. i can see all web-sites seen by all users in the location " /var/log/squid/access.log"..but i can't see the details with date wise.Is there any way to trace the user accessed websites with date wise??

please help me soon.

Thanks in advance
       muthu

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
access.log problem
« Reply #1 on: April 01, 2005, 10:31:07 AM »
In squid's access.log there are two methods for making it logging.. one is what your are seeing rt now(called native log format) in ur access.log and other is http like (called common log format).. in which date is visible (though i have only read about it, nver used it)

So to make it common log format you have to simply edit squid.conf  and add following line into it.
Code: [Select]

emulate_httpd_log on


Here is a link which may help you a more about squid logging
squid-cache.org/Scripts/

Offline muthu

  • Linux Noob !
  • *
  • Posts: 17
access.log problem
« Reply #2 on: April 02, 2005, 04:49:30 AM »
Hi ,
Thanks a lot , It is really working fine..now i can able to trace the user accessed websites with date and time wise..once again Thanks a lot


Thanks & Regards
      muthu