remove

"Dolev Pony" <[email protected]> Thu, 11 Mar 2021 20:22:13 +0200
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <[email protected]>
 

 

בכבוד רב

דולב פוני

מנכ"ל 

2all Systems LTD

052-2802851

077-2700300

 <https://web.2all.co.il> https://web.2all.co.il

 

From: Blason R [mailto:[email protected]] 
Sent: Thursday, March 11, 2021 7:37 PM
To: [email protected]
Subject: Re: [mod-security-users] Logrotate file for Ubuntu

 

Thanks guys!!!

 

On Thu, Mar 11, 2021 at 4:19 PM Andrew Howe <[email protected] <mailto:[email protected]> > wrote:

Hi Blason,

You could try using the copytruncate option, which negates the need to
reload Apache by leaving the original log file in place.

As an example, we use the following configuration to rotate audit logs:

/var/log/httpd/modsec_audit*.log {
        copytruncate
        weekly
        rotate 12
        size 20M
        create 0640 root root
}

Just another idea you could test :)

Thanks,
Andrew

-- 

Andrew Howe
Loadbalancer.org Ltd.
www.loadbalancer.org <http://www.loadbalancer.org> 
+1 888 867 9504 / +44 (0)330 380 1064


_______________________________________________
mod-security-users mailing list
[email protected] <mailto:[email protected]> 
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/

_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/