LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   squid log with system id (https://www.linuxquestions.org/questions/linux-server-73/squid-log-with-system-id-646583/)

nkutty 06-03-2008 01:28 AM

squid log with system id
 
hi..

i am using squid proxy server for internet sharing
all the internet usage details are store in /var/log/squid/access.log
in that log i am able to get system ip those who are all access internet
in same way i want want system id (system name) also how to do that can any one he me

with regards
Kutty

p_s_shah 06-03-2008 07:05 PM

Try to add some Systems and their IP addresses in /etc/hosts file.
Restart squid and check logs.
Tell us if it resolved your issue.

nkutty 06-04-2008 04:01 AM

Quote:

Originally Posted by p_s_shah (Post 3173857)
Try to add some Systems and their IP addresses in /etc/hosts file.
Restart squid and check logs.
Tell us if it resolved your issue.



i have added all the ips and system names in the /etc/hosts
how can i see the system names are stored in squid log (/etc/squid/access.log)


All times are GMT -5. The time now is 10:44 PM.