diff --git a/main/logger.c b/main/logger.c index 82a3be04b9..24e182a17a 100644 --- a/main/logger.c +++ b/main/logger.c @@ -623,14 +623,13 @@ static int reload_logger(int rotate) fclose(qlog); qlog = NULL; } else - event_rotate = 0; + queue_rotate = 0; } else { fclose(qlog); qlog = NULL; } } else queue_rotate = 0; - qlog = NULL; ast_mkdir(ast_config_AST_LOG_DIR, 0777);