Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 20th, 2001, 03:48 AM
chakotha chakotha is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Ireland
Posts: 90 chakotha User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Configurung and running logrotate

Hi,

I am trying to configure logrotate for our server logs.

I have a file wwwlogs in /etc/logrotate.d/

/www/logs/domain-error{
mail info@domain.com
daily
rotate 4
}
/www/logs/domain-access{
mail info@domain.com
daily
rotate 4
}
When I try to test it from from the command line with

$ logrotate -d /etc/logrotate.conf

--I get an error error: wwwlogs:1 unexpected text after {

Is this not the correct format/syntax?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Configurung and running logrotate


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway