blob: 7daeb76d01749485e9c4e694788bca66a4c40f30 [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*************************************************
6Feature: EELF (Event and Error Logging Framework)
7*************************************************
8
9.. contents::
10 :depth: 3
11
12Summary
13^^^^^^^
14The 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.
15
16.. seealso:: Additional information for EELF logging can be found at `EELF wiki`_.
17
18.. _EELF wiki: https://github.com/att/EELF/wiki
19
20
21Usage
22^^^^^
23
24To utilize the eelf logging capabilities, first stop policy engine and then enable the feature using the "*features*" command.
25
26 .. code-block:: bash
27 :caption: Enabling EELF Feature
28
29 policy@hyperion-4:/opt/app/policy$ policy stop
30 [drools-pdp-controllers]
31 L []: Stopping Policy Management... Policy Management (pid=354) is stopping... Policy Management has stopped.
32 policy@hyperion-4:/opt/app/policy$ features enable eelf
33 name version status
34 ---- ------- ------
35 controlloop-utils 1.1.0-SNAPSHOT disabled
36 healthcheck 1.1.0-SNAPSHOT disabled
37 test-transaction 1.1.0-SNAPSHOT disabled
38 eelf 1.1.0-SNAPSHOT enabled
39 state-management 1.1.0-SNAPSHOT disabled
40 active-standby-management 1.1.0-SNAPSHOT disabled
41 session-persistence 1.1.0-SNAPSHOT disabled
42
43The output of the enable command will indicate whether or not the feature was enabled successfully.
44
45Policy engine can then be started as usual.
46
47
48
49End of Document
50
51.. SSNote: Wiki page ref. https://wiki.onap.org/display/DW/Feature+EELF
52