[asterisk-bugs] [JIRA] (ASTERISK-30016) rotatestrategy = rotate replaces ${filename} with wrong name in exec_after_rotate

Matthias Meyser (JIRA) noreply at issues.asterisk.org
Tue Apr 12 05:45:57 CDT 2022


Matthias Meyser created ASTERISK-30016:
------------------------------------------

             Summary: rotatestrategy = rotate replaces ${filename} with wrong name in exec_after_rotate
                 Key: ASTERISK-30016
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30016
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/Logging
    Affects Versions: 18.10.1
         Environment: FreeBSD 12.3-STABLE FreeBSD 12.3-STABLE stable/12-n235083-1ba9c8c046a XENET  amd64
Asterisk 18.10.1
            Reporter: Matthias Meyser


if "rotatestrategy = rotate" is selected
"${filename}" in "exec_after_rotate" should be relaced
by original logfile name  (..../messages)
but is replaced by rotated logfile name (..../messages.0)
So example config for "exec_after_rotate=gzip -9 ${filename}.2" dos not work.
(gzip -9 ..../messages.0.2) 





--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list