|
|
@ -461,8 +461,8 @@ int reload_logger(int rotate)
|
|
|
|
|
|
|
|
|
|
|
|
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) {
|
|
|
@ -589,12 +589,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);
|
|
|
|