summaryrefslogtreecommitdiff
path: root/main/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/logger.c')
-rw-r--r--main/logger.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/logger.c b/main/logger.c
index c58b97c97..86cd0d4a6 100644
--- a/main/logger.c
+++ b/main/logger.c
@@ -928,6 +928,11 @@ static char *handle_logger_rotate(struct ast_cli_entry *e, int cmd, struct ast_c
return CLI_SUCCESS;
}
+int ast_logger_rotate()
+{
+ return reload_logger(1, NULL);
+}
+
static char *handle_logger_set_level(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
int x;