The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: Rotatelogs
Author: Ellert 
Date:   02-05-06 18:09

If you have a multitude of logfiles (perhaps one set for each domain you host) you can use the G flag to make the file name into an expression.
For example:

/var/log/httpd/*log root:www 644 7 200 * GB /var/run/httpd.pid 30

Regards,
Ellert.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Rotatelogs   new
Ralph Meijer 26-01-00 15:40 
 RE: Rotatelogs   new
Dan Langille 27-01-00 00:59 
 Re: Rotatelogs   new
Ellert 02-05-06 18:09 
 Re: Rotatelogs   new
Dan 02-05-06 18:14 
 Re: Rotatelogs   new
Dan 02-05-06 18:14 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org