summaryrefslogtreecommitdiffstats
path: root/docs/logging.rst
diff options
context:
space:
mode:
authorEddie Arrage <eddie.arrage@huawei.com>2018-04-25 21:19:29 +0000
committerEddie Arrage <eddie.arrage@huawei.com>2018-04-25 21:23:52 +0000
commit757216df68b1bc7c49384b0aa65392896c06393b (patch)
treeaf9726f04e85d67ae6f080dd7202be13ec47af41 /docs/logging.rst
parentdc27eb3f6db07e68fc49661692bb6111a4fe4f5c (diff)
Add index and cleanup design docs on stable/fraser
- Add toplevel index to design docs on stable/fraser - Add headers to each of the design docs - Added usage of Clover container to install Jaeger/Prometheus in combination in tracing and monitoring docs - Minor edits including removing TODO/TBD Change-Id: I1a33544a5b3d6be4147810ef9472b8d72cdec28c Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
Diffstat (limited to 'docs/logging.rst')
-rw-r--r--docs/logging.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/logging.rst b/docs/logging.rst
index 05f3f5b..db0a22e 100644
--- a/docs/logging.rst
+++ b/docs/logging.rst
@@ -1,3 +1,10 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International
+.. License.
+.. http://creativecommons.org/licenses/by/4.0
+.. (c) OPNFV, Authors of Clover
+
+.. _logging:
+
#######
Logging
#######
@@ -21,11 +28,10 @@ The scripts in ``clover/logging`` validates fluentd installation::
python clover/logging/validate.py
-It validates the installation with the following criterias
+It validates the installation with the following criteria:
#. existence of fluented pod
#. fluentd input is configured correctly
-#. TBD
**************************
Understanding how it works
@@ -62,7 +68,7 @@ Istio defines when to log by creating a custom resource ``rule``. For example:
This rule specifies that all instances of ``newlog.logentry`` that matches the
expression will be handled by the specified handler ``handler.fluentd``. We
shall explain ``instances`` and ``handler`` later. The expression ``true`` means
-whenever a request arrive at Mixer, it will trigger the actions defined belows.
+whenever a request arrives at Mixer, it will trigger the actions defined below.
``rule`` is a custom resource definition from `Istio installation`_.
@@ -139,7 +145,7 @@ By the way, ``logentry`` is also a custom resource definition created by Istio.
Where to log
============
-For log, the handler defines where these information will be handled, in this
+For log, the handler defines where this information will be handled, in this
example, a fluentd daemon on fluentd-es.logging:24224.
.. code-block:: yaml