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

Sean Bright asteriskteam at digium.com
Thu Mar 16 06:57:45 CDT 2023


Attention is currently required from: N A.

Sean Bright has uploaded a new patch set (#2) 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/2
-- 
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: 2
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: N A <asterisk at phreaknet.org>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20230316/edd3c41a/attachment.html>


More information about the asterisk-code-review mailing list