LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
Logrotate based on time AND size


Hi,
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
daily
size=100k
}

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.
Shishya
 
Old 04-11-2006, 07:30 PM   #2
gilead
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?
 
  


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 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 12:38 PM
Linux based gateway for time-based wireless service. TotalDefiance Linux - Software 0 10-03-2005 06:06 PM
change font(size) for GTK based applications? the_low Linux - Newbie 2 08-03-2005 03:49 PM
Time Based Nat roopunix Linux - Networking 1 07-03-2005 07:32 AM
search for files based on file size fatrandy13 Linux - General 1 12-05-2004 10:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:19 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