Search squid archive

Re: leaving each log file per domain at squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mån 2006-10-23 klockan 07:08 +0000 skrev Monty Ree:
> > > I have setup squid 2.6 for reverse proxy about several domains.
> > > So I would like to leave each log messages to separate files per
> > > cache_peer_domain.
> > > Is there any method to do this?
> >
> >Yes. See access_log and dstdomain acl.
> >
> 
> Thanks for your kind answer.
> If I have tow peer domains(www.abc.com, www.xyz.com),  
> Can you  give me an example to leave a log about www.abc.com?


Here is one way:

acl abc dstdomain www.abc.com
acl xyz dstdomain www.xyz.com

access_log /path/to/xyz.log squid xyz
access_log none xyz
access_log /path/to/abc.log squid abc
access_log none abc
access_log /path/to/access.log squid


Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux