logging: Add .log to samples and update asterisk.logrotate.

Added .log extension to the sample logs in logger.conf.sample so that
they will be able to be opened in the browser when attached to JIRA
tickets. Because of this, asterisk.logrotate has also been updated to
look for .log extensions instead of no extension for log files such as
full and messages.

Change-Id: I5de743c03f08047d6c6cc80cac5019ae0c4c200f
changes/96/15696/2
Ben Ford 4 years ago committed by Friendly Automation
parent aac442eecd
commit 55c53de022

@ -157,15 +157,15 @@
; modes on a production system unless you are in the process of debugging
; a specific issue.
;
;debug => debug
;trace => trace
;security => security
;debug.log => error,warning,notice,verbose,debug
;trace.log => trace
;security.log => security
console => notice,warning,error
;console => notice,warning,error,debug
messages => notice,warning,error
;full => notice,warning,error,debug,verbose,dtmf,fax
messages.log => notice,warning,error
;full.log => notice,warning,error,debug,verbose,dtmf,fax
;
;full-json => [json]debug,verbose,notice,warning,error,dtmf,fax
;full-json.log => [json]debug,verbose,notice,warning,error,dtmf,fax
;
;syslog keyword : This special keyword logs to syslog facility
;

@ -1,4 +1,4 @@
__LOGDIR__/debug __LOGDIR__/console __LOGDIR__/full __LOGDIR__/messages __LOGDIR__/*log {
__LOGDIR__/debug.log __LOGDIR__/console __LOGDIR__/full.log __LOGDIR__/messages.log __LOGDIR__/*log {
weekly
missingok
rotate 52

@ -0,0 +1,9 @@
Subject: Log Rotate
Master-Only: True
The sample logger files have been changed to have .log as their file
extension. This was done so that when attached to issues on the issue
tracker, they are able to be opened in the browser for convenience.
Because of this, the asterisk.logrotate script has been updated to look
for .log extensions instead of no extension for files such as full
and messages.
Loading…
Cancel
Save