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: Dan 
Date:   02-05-06 18:14

Ellert wrote:

> 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

WOW! That's great:

G indicates that the specified logfile_name is a shell pat-
tern, and that newsyslog(8) should archive all filenames
matching that pattern using the other options on this
line. See glob(3) for details on syntax and matching
rules.

--
Webmaster

 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