Hi all,
I need to make a script for a log rotate of the IDS logs.
I tried to modify the file /opt/volera/roma/conf/logrotate.conf as follow, but it's not working.
How can I make a script to logrotate the logs and gunzip it?
Thank you.
Rossella
# Configuration file used for logrotate.
# rotate Device Manager log files
/opt/volera/roma/logs/*.log {
su novlwww novlwww
copytruncate
daily
rotate 5
size 1M
notifempty
missingok
compress
}
/opt/novell/nam/adminconsole/logs/catalina.out {
su novlwww novlwww
copytruncate
daily
rotate 10
size 1M
notifempty
missingok
compress
}
/opt/novell/nam/adminconsole/logs/*.txt {
su novlwww novlwww
copytruncate
daily
rotate 10
size 1M
notifempty
missingok
compress
}