Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 02-06-2003, 03:37 PM   #1
Registered: Dec 2002
Posts: 63

Rep: Reputation: 15
restarting logrotate.d


I've added an entry into /etc/logrotate.d/syslog and am wondering if i have to restart logrotate.d or any daemons (syslog?) for the log rotation to take effect? If i do have to restart logrotate.d what is the syntax? My entry is below. Do I need to add any addtional scripts anywhere else? It's a redhat 7.2 server. Thanks.

/var/log/kernel {
rotate 12
/usr/bin/killall -HUP syslogd
Old 02-06-2003, 04:01 PM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Log rotation is done from inside the cron daemon, so you don't need to do any more. It will read your changes when the commands are activated.

The cron files are in /etc/crond.~ directories...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem with logrotate tflavell Linux - Newbie 6 07-04-2005 03:32 AM
Logrotate Help! MaverickApollo Linux - Software 3 02-19-2004 12:09 PM
logrotate dominant Linux - Newbie 1 02-13-2004 09:28 AM
logrotate Rig24 Linux - Newbie 2 07-11-2003 05:08 AM
logrotate MrJoshua Linux - General 2 09-25-2002 09:55 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:25 PM.

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