]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
logger.c: Remove deprecated/redundant configuration option.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 7 Aug 2025 19:23:54 +0000 (15:23 -0400)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 11 Aug 2025 12:23:42 +0000 (12:23 +0000)
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.

main/logger.c

index bdc2350043bff08686eea2f050c7a777f5702d5f..8a134537d0e6d6f9c86177dd5acef815d06af4ad 100644 (file)
@@ -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) {