ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Timur Batyrshin <batyrshin@ieml.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] squid logging to syslog
Date: Wed, 3 Feb 2010 19:59:24 +0300
Message-ID: <20100203195924.13cc972b@batyrshin.kzn.ieml.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 932 bytes --]



Делал ли кто-нибудь вывод access-логов Squid в syslog ? Работает ли это?

У меня при настройке вывода логов в syslog начинают туда валиться
сообщения следующего вида:
Feb  3 19:49:55 UNSPECIFIED (__progname="(squid)" uid=23 euid=23):  1265215795.236 .....................

Ситуация сохраняется и для syslogd и для syslog-ng. 


В /etc/squid/squid.conf:
access_log syslog:local0.info squid

(facility и severity вообще говоря можно указывать любые, или вообще
опустить -- ситуация не меняется)

[root@squid squid]# rpm -q squid
squid-3.0.STABLE15-alt0.M40.1

У кого под рукой есть squid (на 4.0, или P5) -- проверьте, пожалуйста, 
работает ли это.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2010-02-03 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03 16:59 Timur Batyrshin [this message]
2010-02-05 10:07 ` Timur Batyrshin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100203195924.13cc972b@batyrshin.kzn.ieml.ru \
    --to=batyrshin@ieml.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git