ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: help with squid
Date: Wed, 16 Oct 2002 20:45:52 +0400
Message-ID: <20021016164552.GA3608@vcserver.mivlgu.internal> (raw)
In-Reply-To: <20021016200509.62027e8b.vyt@vzljot.ru>

On Wed, Oct 16, 2002 at 20:05:09 +0400, Vitaly Ostanin wrote:
> On Wed, 16 Oct 2002 18:54:36 +0300
> Valentin Nechayev <netch@netch.kiev.ua> wrote:
> 
> >  Wed, Oct 16, 2002 at 19:51:39, vyt wrote about "[Comm] Re:
> >  help with squid": 
> > 
> > > > squid -k rotate.
> > > > Рекомендованный тут logrotate - не то, нехороший метод,
> > > > потому что не родной метод.
> > > Аргументируйте, пожалуйста.
> > > Настройки logrotate для squid используют 'squid -k rotate'.
> > 
> > Покажите пример, пожалуйста, реального конфига для logrotate с
> > этим. А то очень странно получается.
> 
> /etc/logrotate.d/squid :
> ...
>     postrotate
>       /usr/sbin/squid -k rotate
>     endscript
> ...

Только не забудьте прописать при этом в squid.conf опцию logfile_rotate 0,
чтобы squid только переоткрывал логи, но не занимался их ротацией сам.
Иначе получится ерунда.

А преимущество у logrotate - например, он умеет сжимать старые логи.


  parent reply	other threads:[~2002-10-16 16:45 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-16  7:57 [Comm] " Andriy Dobrovol's'kii
2002-10-16  8:20 ` Andriy Dobrovol's'kii
2002-10-16 13:39   ` Sergey Vlasov
2002-10-16 15:46   ` Valentin Nechayev
2002-10-16 13:37 ` Sergey Vlasov
2002-10-16 14:59   ` Andriy Dobrovol's'kii
2002-10-16 15:29     ` Andrew Nazarkin
2002-10-16 15:42       ` Andriy Dobrovol's'kii
2002-10-16 15:47         ` Andrew Nazarkin
2002-10-16 16:55           ` Ilya Palagin
2002-10-17  8:56             ` Andrew Nazarkin
2002-10-17 12:05               ` Andriy Dobrovol's'kii
2002-10-21 14:32                 ` Andriy Dobrovol's'kii
2002-10-21 14:43                   ` Sergey Vlasov
2002-10-16 15:44     ` Valentin Nechayev
2002-10-16 15:51       ` [Comm] " Vitaly Ostanin
2002-10-16 15:54         ` Valentin Nechayev
2002-10-16 16:05           ` Vitaly Ostanin
2002-10-16 16:14             ` Andriy Dobrovol's'kii
2002-10-16 16:45             ` Sergey Vlasov [this message]
2002-10-16 15:59         ` Andrew Nazarkin
2002-10-16 16:11           ` Andriy Dobrovol's'kii
2002-10-16 16:05         ` Andriy Dobrovol's'kii
2002-10-16 16:12           ` Vitaly Ostanin
2002-10-16 16:25             ` Valentin Nechayev
2002-10-16 16:18           ` Andrew Nazarkin
2002-10-16 16:28             ` Andriy Dobrovol's'kii
2002-10-16 15:47 ` [Comm] " Valentin Nechayev

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=20021016164552.GA3608@vcserver.mivlgu.internal \
    --to=vsu@altlinux.ru \
    --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