From: Naveen Albert Date: Thu, 7 Aug 2025 19:23:54 +0000 (-0400) Subject: logger.c: Remove deprecated/redundant configuration option. X-Git-Tag: 23.0.0-pre1~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8f844a9008409a0e56ee9d79653906c32220af7;p=thirdparty%2Fasterisk.git logger.c: Remove deprecated/redundant configuration option. Remove the deprecated 'rotatetimestamp' config option, as this was deprecated by 'rotatestrategy' in 1.6 by commit f5a14167f3ef090f8576da3070ed5c452fa01e44. Resolves: #1345 UpgradeNote: The deprecated rotatetimestamp option has been removed. Use rotatestrategy instead. --- diff --git a/main/logger.c b/main/logger.c index bdc2350043..8a134537d0 100644 --- a/main/logger.c +++ b/main/logger.c @@ -840,11 +840,6 @@ static int init_logger_chain(const char *altconf) } else { fprintf(stderr, "Unknown rotatestrategy: %s\n", s); } - } else { - if ((s = ast_variable_retrieve(cfg, "general", "rotatetimestamp"))) { - rotatestrategy = ast_true(s) ? TIMESTAMP : SEQUENTIAL; - fprintf(stderr, "rotatetimestamp option has been deprecated. Please use rotatestrategy instead.\n"); - } } if ((s = ast_variable_retrieve(cfg, "general", "logger_queue_limit"))) { if (sscanf(s, "%30d", &logger_queue_limit) != 1) {