From: Maxim Tyurin <mrkooll@tdr.pibhe.com>
To: community@altlinux.ru
Subject: Re: Re[2]: [Comm] запись журнала squid-да в sql таблицу
Date: Tue, 21 Oct 2003 11:13:40 +0300
Message-ID: <20031021081340.GC25218@mrkooll.tdr.pibhe.com> (raw)
In-Reply-To: <200310211208.27661.past@yam.ru>
[-- Attachment #1: Type: text/plain, Size: 822 bytes --]
On Tue, Oct 21, 2003 at 12:08:27PM +0400, Artem Pastukhov wrote:
> Вторник 21 Октябрь 2003 11:38, Maxim написал:
> > Здравствуйте, Maxim.
> >
> > Вы писали 21 октября 2003 г., 10:44:13:
> >
> > MT> On Mon, Oct 20, 2003 at 08:05:34PM +0400, Maxim wrote:
> > >> Кто-нибудь делал запись журнала squid-да ну типа в postgres
> > >> или mysql?
> >
> > MT> А делал (в PostgreSQL).
> > MT> Нормально работает.
> >
> > а как его заставить туда отправлять данные, или хотя бы в
> > скрипт или программку?
> squid2mysql делает через fifo
>
> делаете mkfifo access.log
> сквид туда пишет, а скрипт читает
У меня тоже через FIFO
Только не напрямую пишет, а по cron сбрасывает (пусть еще и текстовый
лог будет на всякий случай :)
Скрипт на Питоне - могу выслать.
--
With Best Regards, Maxim Tyurin
JID: MrKooll@jabber.pibhe.com
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-10-21 8:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-20 16:05 Maxim
2003-10-20 20:55 ` Sergey Degtyaryov
2003-10-21 4:45 ` Mike Lykov
2003-10-21 6:56 ` Re[2]: " Maxim
2003-10-21 9:03 ` Mike Lykov
2003-10-21 6:44 ` Maxim Tyurin
2003-10-21 7:38 ` Re[2]: " Maxim
2003-10-21 7:52 ` shawkat
2003-10-21 8:08 ` Re[2]: " Artem Pastukhov
2003-10-21 8:13 ` Maxim Tyurin [this message]
2003-10-21 9:07 ` Re[4]: " Maxim
2003-10-24 11:42 ` Genix
2003-10-21 7:04 ` Пирогов Алексей
2003-10-21 11:00 ` [Comm] все, тема закрыта Maxim
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=20031021081340.GC25218@mrkooll.tdr.pibhe.com \
--to=mrkooll@tdr.pibhe.com \
--cc=community@altlinux.ru \
/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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git