[Asterisk-code-review] logrotate: Fix duplicate log entries. (asterisk[master])

Sean Bright asteriskteam at digium.com
Wed Mar 29 08:29:46 CDT 2023


Attention is currently required from: Sean Bright.

Sean Bright has uploaded a new patch set (#3) to the change originally created by N A. ( https://gerrit.asterisk.org/c/asterisk/+/19929 )

Change subject: logrotate: Fix duplicate log entries.
......................................................................

logrotate: Fix duplicate log entries.

The Asterisk logrotate script contains explicit
references to files with the .log extension,
which are also included when *log is expanded.
This causes issues with newer versions of logrotate.
This fixes this by ensuring that a log file cannot
be referenced multiple times after expansion occurs.

ASTERISK-30442 #close
Reported by: EN Barnett
Tested by: EN Barnett

Change-Id: Ic875ed9d052fe79f4c3bef58d37d65b2231af796
---
M contrib/scripts/asterisk.logrotate
1 file changed, 24 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/29/19929/3
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19929
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ic875ed9d052fe79f4c3bef58d37d65b2231af796
Gerrit-Change-Number: 19929
Gerrit-PatchSet: 3
Gerrit-Owner: N A <asterisk at phreaknet.org>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20230329/f9cad916/attachment.html>


More information about the asterisk-code-review mailing list