LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-28-2003, 02:29 AM   #1
krishn
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
disable log rotation in site


hi friends

I want to disable log rotation in individual site. please help me how to do it

thanks
 
Old 07-28-2003, 07:53 AM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Re: disable log rotation in site

Quote:
Originally posted by krishn
hi friends

I want to disable log rotation in individual site. please help me how to do it

thanks
You have several options, but the easiest is to disable logrotate in the cron that calls it into action. Try looking here for a start:

/etc/cron.daily/logrotate

You can also disable each log rotation so that logrotate is called but has nothing to do. Look in places like this for that:

/etc/logrotate.d
/etc/logrotate.d/linuxconf
/etc/logrotate.d/syslog
/etc/logrotate.d/rpm
/etc/logrotate.d/up2date
/etc/logrotate.d/samba
/etc/logrotate.d/ftpd
/etc/logrotate.d/apache
/etc/logrotate.d/squid
/etc/logrotate.d/named
/etc/logrotate.d/mysqld
/etc/logrotate.conf

Cheers--
Charles
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to resolve log rotation error? sdebiasio Linux - Newbie 4 09-08-2004 02:48 AM
Webalizer With Log Rotation dmedici Linux - Software 0 08-17-2004 09:06 AM
Snort log rotation suggestions zerocomm Linux - Security 1 05-26-2004 10:23 PM
manual log rotation will103 Linux - Newbie 2 04-20-2004 02:20 AM
Log rotation - NewB nrastogi Linux - Software 1 02-12-2003 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration