logrotate compress issue

Ajeesh Kannan <[email protected]>
Newsgroups gmane.org.user-groups.linux.ilugc
Message-ID <CA+ark-qUKUNFUd0iy9QqELhCwdu0LpoWey4_ytGgnDRO37ED9w@mail.gmail.com>
H,

i have added  logrotate as follows,

log.* {
        daily
        missingok
        rotate 2
        dateext
        dateformat %Y-%m-%d.
        compress
        maxage 40
}

But now the zipped logs are again and again zipping.

.gz-20151011.gz2015-11-10..gz

Can you check anything wrong in my logrotating


-- 
With Regards,
Ajeesh B.Kannan
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.