LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   logrotate not working as per rules (https://www.linuxquestions.org/questions/linux-newbie-8/logrotate-not-working-as-per-rules-4175511302/)

indraindrajit71 07-16-2014 12:53 PM

logrotate not working as per rules
 
Please suggest if I had missed anything.



Thanks

suicidaleggroll 07-16-2014 01:03 PM

Your eservice details say that those rules apply to files matching:
Code:

/home/indra/log/*.log
These files:
Code:

*log.YY-MM-DD
do not match that pattern, so they are not being acted on by that rule.

indraindrajit71 07-16-2014 01:22 PM

So if I am not wrong than find command should work on those files.

indraindrajit71 07-16-2014 01:28 PM

Please clarify.

suicidaleggroll 07-16-2014 01:59 PM

My apologies, I didn't read close enough to see that you had "*.log*" in your find command. I'm afraid I'm not experienced enough with logrotate to answer your question then.


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