<p>N A has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/19982">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">logrotate: Fix duplicate log entries.<br><br>The Asterisk logrotate script contains explicit<br>references to files with the .log extension,<br>which are also included when *log is expanded.<br>This causes issues with newer versions of logrotate.<br>This fixes this by ensuring that a log file cannot<br>be referenced multiple times after expansion occurs.<br><br>ASTERISK-30442 #close<br>Reported by: EN Barnett<br>Tested by: EN Barnett<br><br>Change-Id: Ic875ed9d052fe79f4c3bef58d37d65b2231af796<br>---<br>M contrib/scripts/asterisk.logrotate<br>1 file changed, 21 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/82/19982/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/scripts/asterisk.logrotate b/contrib/scripts/asterisk.logrotate</span><br><span>index f774446..6352283 100644</span><br><span>--- a/contrib/scripts/asterisk.logrotate</span><br><span>+++ b/contrib/scripts/asterisk.logrotate</span><br><span>@@ -1,4 +1,4 @@</span><br><span style="color: hsl(0, 100%, 40%);">-__LOGDIR__/debug.log __LOGDIR__/console __LOGDIR__/full.log __LOGDIR__/messages.log __LOGDIR__/*log {</span><br><span style="color: hsl(120, 100%, 40%);">+__LOGDIR__/console __LOGDIR__/*log {</span><br><span> weekly</span><br><span> missingok</span><br><span> rotate 52</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/19982">change 19982</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/19982"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 20 </div>
<div style="display:none"> Gerrit-Change-Id: Ic875ed9d052fe79f4c3bef58d37d65b2231af796 </div>
<div style="display:none"> Gerrit-Change-Number: 19982 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>