mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-21 12:54:56 +00:00
Merged revisions 7963 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2 ........ r7963 | mogorman | 2006-01-10 22:38:07 -0600 (Tue, 10 Jan 2006) | 2 lines Minor typo refrenced in 6191 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
10
logger.c
10
logger.c
@@ -465,9 +465,9 @@ int reload_logger(int rotate)
|
|||||||
ast_mutex_unlock(&loglock);
|
ast_mutex_unlock(&loglock);
|
||||||
|
|
||||||
filesize_reload_needed = 0;
|
filesize_reload_needed = 0;
|
||||||
|
|
||||||
queue_log_init();
|
|
||||||
init_logger_chain();
|
init_logger_chain();
|
||||||
|
queue_log_init();
|
||||||
|
|
||||||
if (logfiles.event_log) {
|
if (logfiles.event_log) {
|
||||||
if (eventlog) {
|
if (eventlog) {
|
||||||
@@ -594,12 +594,12 @@ int init_logger(void)
|
|||||||
ast_cli_register(&rotate_logger_cli);
|
ast_cli_register(&rotate_logger_cli);
|
||||||
ast_cli_register(&logger_show_channels_cli);
|
ast_cli_register(&logger_show_channels_cli);
|
||||||
|
|
||||||
/* initialize queue logger */
|
|
||||||
queue_log_init();
|
|
||||||
|
|
||||||
/* create log channels */
|
/* create log channels */
|
||||||
init_logger_chain();
|
init_logger_chain();
|
||||||
|
|
||||||
|
/* initialize queue logger */
|
||||||
|
queue_log_init();
|
||||||
|
|
||||||
/* create the eventlog */
|
/* create the eventlog */
|
||||||
if (logfiles.event_log) {
|
if (logfiles.event_log) {
|
||||||
mkdir((char *)ast_config_AST_LOG_DIR, 0755);
|
mkdir((char *)ast_config_AST_LOG_DIR, 0755);
|
||||||
|
Reference in New Issue
Block a user