LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   parameter /etc/logrotate.conf (https://www.linuxquestions.org/questions/linux-server-73/parameter-etc-logrotate-conf-719547/)

vikas027 04-16-2009 06:33 AM

parameter /etc/logrotate.conf
 
Hi,

Could someone help me with the options which are in bold in /etc/logrotate.conf


Code:

/var/log/htmlaccess.log
{

errors jim
notifempty


nocompress
weekly

prerotate
/usr/bin/chattr -a /var/log/htmlaccess.log
endscript

postrotate
/usr/bin/chattr +a /var/log/htmlaccess.log
endscript

}


Thanks in adv.

repo 04-16-2009 06:38 AM

Code:

errors jim
sent errors to jim
Code:

notifempty
don't rotate if the file is empty

http://articles.techrepublic.com.com...1-1052474.html

vikas027 04-16-2009 08:28 AM

Quote:

Originally Posted by repo (Post 3510853)
Code:

errors jim
sent errors to jim
Code:

notifempty
don't rotate if the file is empty

http://articles.techrepublic.com.com...1-1052474.html

thanks.


All times are GMT -5. The time now is 08:32 PM.