mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
logger.c: Remove deprecated/redundant configuration option.
Remove the deprecated 'rotatetimestamp' config option, as this
was deprecated by 'rotatestrategy' in 1.6 by commit
f5a14167f3
.
Resolves: #1345
UpgradeNote: The deprecated rotatetimestamp option has been removed.
Use rotatestrategy instead.
This commit is contained in:
committed by
github-actions[bot]
parent
5c3cd44563
commit
c8f844a900
@@ -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) {
|
||||
|
Reference in New Issue
Block a user