add sections
[optf/osdf.git] / docs / sections / logging.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2
3 Logging
4 =============================================
5
6 OSDF uses a single logger, oslo, across all the components. The logging format is compliant with the EELF recommendations, 
7 including having the following logs:
8 error, audit, metric, application.
9
10 The log statements follow the following format (values default to preset values when missing):
11
12 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
13
14 The logger util module can be found at: 
15
16 <>/has/conductor/conductor/common/utils/conductor_logging_util.py