|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Configurung and running logrotate |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|