Logger: Add manager command 'LoggerRotate' to rotate logger

Part of a series of AMI command equivalents to existing CLI
commands

Review: https://reviewboard.asterisk.org/r/3651/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@416848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jonathan Rose
2014-06-20 20:29:45 +00:00
parent 86e8ab5ed4
commit e087ae0c02
4 changed files with 37 additions and 0 deletions

View File

@@ -88,6 +88,9 @@ void ast_log_backtrace(void);
/*! \brief Reload logger without rotating log files */
int logger_reload(void);
/*! \brief Reload logger while rotating log files */
int ast_logger_rotate(void);
void __attribute__((format(printf, 5, 6))) ast_queue_log(const char *queuename, const char *callid, const char *agent, const char *event, const char *fmt, ...);
/*!