blob: a505490cdd5dbd4b9ef61de5f8baee956bda1391 [file] [log] [blame]
Saryu Shahf96ef832019-06-03 16:23:04 +00001
2.. This work is licensed under a Creative Commons Attribution 4.0 International License.
3.. http://creativecommons.org/licenses/by/4.0
4
5*************************************************
jhh108dd8f2020-06-12 17:01:24 -05006Feature: EELF (Event and Error Logging Framework)
Saryu Shahf96ef832019-06-03 16:23:04 +00007*************************************************
8
9.. contents::
10 :depth: 3
11
Saryu Shahf96ef832019-06-03 16:23:04 +000012The EELF feature provides backwards compatibility with R0 logging functionality. It supports the use of EELF/Common Framework style logging at the same time as traditional logging.
13
14.. seealso:: Additional information for EELF logging can be found at `EELF wiki`_.
15
16.. _EELF wiki: https://github.com/att/EELF/wiki
17
18
Saryu Shahf96ef832019-06-03 16:23:04 +000019To utilize the eelf logging capabilities, first stop policy engine and then enable the feature using the "*features*" command.
20
21 .. code-block:: bash
22 :caption: Enabling EELF Feature
23
24 policy@hyperion-4:/opt/app/policy$ policy stop
25 [drools-pdp-controllers]
26 L []: Stopping Policy Management... Policy Management (pid=354) is stopping... Policy Management has stopped.
27 policy@hyperion-4:/opt/app/policy$ features enable eelf
28 name version status
29 ---- ------- ------
30 controlloop-utils 1.1.0-SNAPSHOT disabled
31 healthcheck 1.1.0-SNAPSHOT disabled
32 test-transaction 1.1.0-SNAPSHOT disabled
33 eelf 1.1.0-SNAPSHOT enabled
34 state-management 1.1.0-SNAPSHOT disabled
35 active-standby-management 1.1.0-SNAPSHOT disabled
36 session-persistence 1.1.0-SNAPSHOT disabled
37
38The output of the enable command will indicate whether or not the feature was enabled successfully.
39
40Policy engine can then be started as usual.
41
42
43
44End of Document
45
46.. SSNote: Wiki page ref. https://wiki.onap.org/display/DW/Feature+EELF
47