summaryrefslogtreecommitdiffstats
path: root/docs/sections/logging.rst
diff options
context:
space:
mode:
authorfsandoval <frank.sandoval@oamtechnologies.com>2018-04-30 19:23:36 -0600
committerShankaranarayanan Puzhavakath Narayanan <snarayanan@research.att.com>2018-05-01 16:55:11 +0000
commit2c0f127d19981cbf69868265f5b4ac98cd687210 (patch)
tree4f240e117a5f545b78d6b94fc29f826f4ce9f979 /docs/sections/logging.rst
parentdcf83b8e6798552e614ff6fc117498d737980f9a (diff)
Beijing RC2 documentation
Change-Id: Ic8b75e4cb33d6c4562cef2f2b9342974bfae03a3 Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com> Issue-ID: OPTFRA-41
Diffstat (limited to 'docs/sections/logging.rst')
-rw-r--r--docs/sections/logging.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/sections/logging.rst b/docs/sections/logging.rst
new file mode 100644
index 0000000..86b63f9
--- /dev/null
+++ b/docs/sections/logging.rst
@@ -0,0 +1,16 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+
+Logging
+=============================================
+
+HAS uses a single logger, oslo, across all the components. The logging format is compliant with the EELF recommendations,
+including having the following logs:
+error, audit, metric, application.
+
+The log statements follow the following format (values default to preset values when missing):
+
+Timestamp|RequestId|ServiceInstanceId|ThreadId|Virtual Server Name|ServiceName|InstanceUUID|Log Level|Alarm Severity Level|Server IP Address|HOST NAME|Remote IP Address|Class name|Timer|Detailed Message
+
+The logger util module can be found at:
+
+<>/has/conductor/conductor/common/utils/conductor_logging_util.py \ No newline at end of file