From 23c3354245f8a9bc1d87ea3becc0f217bf10bbd7 Mon Sep 17 00:00:00 2001 From: fsandoval Date: Tue, 1 May 2018 12:29:40 -0600 Subject: add sections Issue-ID: OPTFRA-41 Change-Id: Iba3f0c98b5c691ef89796991f7133c122a9bb792 Signed-off-by: fsandoval --- docs/sections/logging.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/sections/logging.rst (limited to 'docs/sections/logging.rst') diff --git a/docs/sections/logging.rst b/docs/sections/logging.rst new file mode 100644 index 0000000..eb2739f --- /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 +============================================= + +OSDF 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 -- cgit 1.2.3-korg