#2478 fix logrotate to match file with date
Opened a month ago by seddik. Modified a day ago
fedora-infra/ seddik/ansible logrotate_fix  into  main

file modified
+3 -1
@@ -1,4 +1,6 @@ 

- /var/log/httpd/*log {

+ /var/log/httpd/*log 

+ /var/log/httpd/*.log.????-??-??

+ {

      daily

      rotate 7

      missingok

This will take care of the YYYY-MM-DD ones... but there is still also a access_log one.

So perhaps 2 entries? or some regex that works for both?

rebased onto 6d4c6b0

a month ago

well, you shouldn't need *log and access_log right? the first one should match...

I think there may not be newlines between the logs to match? not 100% sure tho.

rebased onto f103010

4 days ago

Metadata Update from @kevin:
- Pull-request tagged with: post-freeze

3 days ago

rebased onto 2f67aad

a day ago

rebased onto 2f67aad

a day ago
Metadata