You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/01/10 20:00:00 UTC
[trafficserver] 04/05: Doc bugs
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit f2f4558a152008783583115af4d3d5bd9e11bc18
Author: Tucker <tu...@siden.io>
AuthorDate: Mon Jan 6 16:58:09 2020 -0600
Doc bugs
* reject is not a valid filter keyword. change to "action"
* aggregate operator should be AVG, not AVERAGE
(cherry picked from commit f2716faad07c04f72bce357866cd42e15fc1add0)
---
doc/admin-guide/logging/examples.en.rst | 5 +++--
.../ja/LC_MESSAGES/admin-guide/monitoring/logging/summary-logs.en.po | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/doc/admin-guide/logging/examples.en.rst b/doc/admin-guide/logging/examples.en.rst
index 84b919c..991cfdd 100644
--- a/doc/admin-guide/logging/examples.en.rst
+++ b/doc/admin-guide/logging/examples.en.rst
@@ -333,12 +333,13 @@ the request to clients during that hour.
logging:
formats:
- name: originrepformat
- format: '%<FIRST(cqtq)> %<COUNT(*)> %<AVERAGE(ttms)>'
+ format: '%<FIRST(cqtq)> %<COUNT(*)> %<AVG(ttms)>'
interval: 3600
filters:
- name: originfilter
- reject: crc CONTAINS "HIT"
+ action: reject
+ condition: crc CONTAINS "HIT"
logs:
- mode: ascii
diff --git a/doc/locale/ja/LC_MESSAGES/admin-guide/monitoring/logging/summary-logs.en.po b/doc/locale/ja/LC_MESSAGES/admin-guide/monitoring/logging/summary-logs.en.po
index 4019d6a..f3056d4 100644
--- a/doc/locale/ja/LC_MESSAGES/admin-guide/monitoring/logging/summary-logs.en.po
+++ b/doc/locale/ja/LC_MESSAGES/admin-guide/monitoring/logging/summary-logs.en.po
@@ -59,7 +59,7 @@ msgid "``SUM``"
msgstr ""
#: ../../../admin-guide/monitoring/logging/summary-logs.en.rst:38
-msgid "``AVERAGE``"
+msgid "``AVG``"
msgstr ""
#: ../../../admin-guide/monitoring/logging/summary-logs.en.rst:39
@@ -82,7 +82,7 @@ msgstr ""
#: ../../../admin-guide/monitoring/logging/summary-logs.en.rst:52
msgid ""
"Where ``operator`` is one of the five aggregate operators (``COUNT``, "
-"``SUM``, ``AVERAGE``, ``FIRST``, ``LAST``); ``field`` is the logging field "
+"``SUM``, ``AVG``, ``FIRST``, ``LAST``); ``field`` is the logging field "
"you want to aggregate; and ``n`` is the interval (in seconds) between "
"summary log entries."
msgstr ""