On 22/01/2013 6:10 a.m., Bill Yuan wrote:
> Hi Eliezer,
>
> Thanks for you reply,
>
> I understand, but currently I am still using squid 2.7. it is good
> enough for me,
>
> now I am still trying to find out whether I can change the name in the
> syslog like below
>
> Jan 21 08:09:10 192.168.0.1 *squid[12345]*: log message
>
> I just want hide the "squid[12345]"
That is a specified mandatory field of teh packets sent to syslog. So I
doubt it.
In Squid-3.2+ you can use various logging modules to send log lines to
other places that might suit your needs better
http://wiki.squid-cache.org/Features/LogModules
And why do you want to hide the fact that the message came from Squid
anyway?
Amos
Received on Tue Jan 22 2013 - 04:45:35 MST
This archive was generated by hypermail 2.2.0 : Tue Jan 22 2013 - 12:00:04 MST