Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-11-2006, 05:09 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Logrotate based on time AND size

I am setting up logrotate config file to rotate daily for atmost two times. Is rotation based on time (used by daily/monthly) mutually exclusive with rotation based on filesize?

What would be the effect of this config file?:
rotate 2

What is the effect of this config?
The desired functionality is this: Rotate 2 times and each rotation is triggered either by time (end of day) OR by the size of the file.

The manpage is not clear on this functionality!

Thanks a bunch for any help.
Old 04-11-2006, 08:30 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
What happened when you tried this? Did it work the way you hoped?


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with font size on gtk based program eduac Linux - Software 1 03-21-2006 01:38 PM
Linux based gateway for time-based wireless service. TotalDefiance Linux - Software 0 10-03-2005 07:06 PM
change font(size) for GTK based applications? the_low Linux - Newbie 2 08-03-2005 04:49 PM
Time Based Nat roopunix Linux - Networking 1 07-03-2005 08:32 AM
search for files based on file size fatrandy13 Linux - General 1 12-05-2004 11:47 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:07 AM.

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
Open Source Consulting | Domain Registration