drools documentation redo
[policy/parent.git] / docs / drools / feature_eelf.rst
1
2 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
3 .. http://creativecommons.org/licenses/by/4.0
4
5 *************************************************
6 Feature: EELF (Event and Error Logging Framework)
7 *************************************************
8
9 .. contents::
10     :depth: 3
11
12 The 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
19 To 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
38 The output of the enable command will indicate whether or not the feature was enabled successfully.
39
40 Policy engine can then be started as usual.
41
42
43
44 End of Document
45
46 .. SSNote: Wiki page ref. https://wiki.onap.org/display/DW/Feature+EELF
47