the squid in RHEL 4 is probably too old to support logging to syslog. you really should upgrade it since it's no longer supported by anyone.

David Lang

On Mon, 26 Aug 2013, Muhammad Asif wrote:

Hi!

I want to send squid logs to local syslog server. It is easy in Centos 5
and 6.But in RHEL4, there is a little change in squid.conf.
There is a line    cache_access_log /var/log/squid/access.log  instead of
access_log /var/log/squid/access.log. I tried the same configuration as in
Centos 5 and 6 but it is fail to send logs to syslog.

cache_access_log  syslog:local0

Is there anything left to add.  Plz help me in this issue.









On Wed, Aug 21, 2013 at 5:56 PM, Radu Gheorghe <[email protected]>wrote:

Hello,

Maybe this will help (to forward all logs via UDP):

*.* @remote-server




2013/8/21 Muhammad Asif <[email protected]>

Hi!

Your previous support help me in solving 3 days stuck problem. Can you
help
me how to forward logs to remote server using syslog.conf rather than
rsyslog.conf if i am using Centos5.

Regards
M.Asif



On Tue, Aug 20, 2013 at 10:13 AM, David Lang <[email protected]> wrote:

add a line to it.


David Lang

On Tue, 20 Aug 2013, Muhammad Asif wrote:

 Thanx for replying.

But squid.conf having in Centos6 is very small file with only basic
required configuration options. There is not any module for
access.log.

What to do for this.


On Tue, Aug 20, 2013 at 9:42 AM, David Lang <[email protected]> wrote:

 with current versions of squid, you can configure it to send the logs
directly to syslog

access_log syslog: local0

David Lang

On Tue, 20 Aug 2013, Muhammad Asif wrote:

 Date: Tue, 20 Aug 2013 09:35:36 +0500

From: Muhammad Asif <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: [email protected]
Subject: [rsyslog] How to send Squid log in OSSIM or sent any remote
syslog
    server


Hi Everyone,

Can anyone help me with specific and reliable method to send squid
logs
in
OSSIM server or any remote syslog server.


Regards
 Asif
______________________________****_________________
rsyslog mailing list
http://lists.adiscon.net/****mailman/listinfo/rsyslog<
http://lists.adiscon.net/**mailman/listinfo/rsyslog>
<http:**//lists.adiscon.net/mailman/**listinfo/rsyslog<
http://lists.adiscon.net/mailman/listinfo/rsyslog>

http://www.rsyslog.com/****professional-services/<
http://www.rsyslog.com/**professional-services/>
<http://**www.rsyslog.com/professional-**services/<
http://www.rsyslog.com/professional-services/>


What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if
you
DON'T LIKE THAT.

 ______________________________****_________________

rsyslog mailing list
http://lists.adiscon.net/****mailman/listinfo/rsyslog<
http://lists.adiscon.net/**mailman/listinfo/rsyslog>
<http:**//lists.adiscon.net/mailman/**listinfo/rsyslog<
http://lists.adiscon.net/mailman/listinfo/rsyslog>

http://www.rsyslog.com/****professional-services/<
http://www.rsyslog.com/**professional-services/>
<http://**www.rsyslog.com/professional-**services/<
http://www.rsyslog.com/professional-services/>


What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if
you
DON'T LIKE THAT.

 ______________________________**_________________
rsyslog mailing list
http://lists.adiscon.net/**mailman/listinfo/rsyslog<
http://lists.adiscon.net/mailman/listinfo/rsyslog>
http://www.rsyslog.com/**professional-services/<
http://www.rsyslog.com/professional-services/>
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.

 ______________________________**_________________
rsyslog mailing list
http://lists.adiscon.net/**mailman/listinfo/rsyslog<
http://lists.adiscon.net/mailman/listinfo/rsyslog>
http://www.rsyslog.com/**professional-services/<
http://www.rsyslog.com/professional-services/>
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to