Re: Logrotate Query

jopoy solano <[email protected]> Mon, 31 Oct 2005 08:46:14 +0800
Newsgroups gmane.org.user-groups.linux.philippine.newbies
Message-ID <[email protected]>
A little waning though: log files tend to grow real fast, you might be
surprised that your disk space would be eaten up in a blink of an eye.
Especially if your site is frequently accessed.

'Jopoy

On 10/31/05, jopoy solano <[email protected]> wrote:
>
> Try moving /etc/logrotate.d/httpd to another backup directory so that it
> won't be included in logrotate.
>
> hth.
>
> 'Jopoy
>
> On 10/30/05, John Paul <[email protected]> wrote:
>
> >   Hello Guys,
> >  I have a question about logrotate. Basically, what I want is to keep my
> > apache logfiles indefinitely. Here's my setup:-
> >  -----------
> > "/etc/logrotate.conf"
> > weekly
> > rotate 4
> > create
> > compress
> > include /etc/logrotate.d
> > -----------
> >  "/etc/logrotate.d/httpd"
> > /var/log/httpd/*.log
> > {
> > missingok
> > size=500M
> > compress
> > weekly
> > nomail
> > notifempty
> > sharedscripts
> > postrotate
> > /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
> > endscript
> > }
> > -----------
> > I have removed the option "rotate" in my "/etc/logrotate.d/httpd". Is
> > this the correct way of keeping log files indefinitely? any hint ?
> >  Thanks,
> > JP
> >
> > _________________________________________________________
> > Philippine Linux Users' Group (PLUG) Newbie Mailing List
> > [email protected] (#PLUG @ irc.free.net.ph<http://irc.free.net.ph>
> > )
> > Read the Guidelines: http://linux.org.ph/lists
> > Searchable Archives: http://archives.free.net.ph
> >
> >
>

_________________________________________________________
Philippine Linux Users' Group (PLUG) Newbie Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph