This is an automated email from the ASF dual-hosted git repository.
eze pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 08c96898ee Fix records length for log roll and normalize (#11899)
08c96898ee is described below
commit 08c96898ee6bd420c4bdb23ae47b31a3e604a525
Author: Evan Zelkowitz <[email protected]>
AuthorDate: Thu Dec 5 14:14:04 2024 -0700
Fix records length for log roll and normalize (#11899)
---
src/records/RecordsConfig.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/records/RecordsConfig.cc b/src/records/RecordsConfig.cc
index e2c64cb4ea..111a87ccca 100644
--- a/src/records/RecordsConfig.cc
+++ b/src/records/RecordsConfig.cc
@@ -84,7 +84,7 @@ static const RecordElement RecordsConfig[] =
{RECT_CONFIG, "proxy.config.output.logfile_perm", RECD_STRING, "rw-r--r--",
RECU_RESTART_TS, RR_NULL, RECC_NULL, nullptr, RECA_NULL}
,
// traffic.out rotation, default is 0 (aka rolling turned off) to preserve
compatibility
- {RECT_CONFIG, "proxy.config.output.logfile.rolling_enabled", RECD_INT, "0",
RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-2]", RECA_NULL}
+ {RECT_CONFIG, "proxy.config.output.logfile.rolling_enabled", RECD_INT, "0",
RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-3]", RECA_NULL}
,
{RECT_CONFIG, "proxy.config.output.logfile.rolling_interval_sec", RECD_INT,
"3600", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
,
@@ -229,7 +229,7 @@ static const RecordElement RecordsConfig[] =
{RECT_CONFIG, "proxy.config.diags.logfile.filename", RECD_STRING,
"diags.log", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[^[:space:]]+$", RECA_NULL}
,
// diags.log rotation, default is 0 (aka rolling turned off) to preserve
compatibility
- {RECT_CONFIG, "proxy.config.diags.logfile.rolling_enabled", RECD_INT, "0",
RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-2]", RECA_NULL}
+ {RECT_CONFIG, "proxy.config.diags.logfile.rolling_enabled", RECD_INT, "0",
RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-3]", RECA_NULL}
,
{RECT_CONFIG, "proxy.config.diags.logfile.rolling_interval_sec", RECD_INT,
"3600", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
,
@@ -519,7 +519,7 @@ static const RecordElement RecordsConfig[] =
{RECT_CONFIG, "proxy.config.http.allow_multi_range", RECD_INT, "0",
RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-2]", RECA_NULL}
,
// This defaults to a special invalid value so the HTTP transaction handling
code can tell that it was not explicitly set.
- {RECT_CONFIG, "proxy.config.http.normalize_ae", RECD_INT, "1", RECU_DYNAMIC,
RR_NULL, RECC_INT, "[0-2]", RECA_NULL}
+ {RECT_CONFIG, "proxy.config.http.normalize_ae", RECD_INT, "1", RECU_DYNAMIC,
RR_NULL, RECC_INT, "[0-3]", RECA_NULL}
,
// ####################################################