Merge "modify deploy rule bug"
[holmes/rule-management.git] / docs / platform / log-and-diagnostic-info.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 Logging & Diagnostic Information
5 ---------------------------------
6
7 In the Amsterdam release, the logs are kept inside the docekr containers, which means that you can get the log information only when the docker is still running. 
8
9 Where to Access Information
10 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Assume that the name of a running docker is *holmes-rule-mgmt*, the way to get the log is to run the command ``docker logs ${docker-name}`` in the command window:
12
13 ``sudo docker logs holmes-rule-mgmt``
14
15 Then the logs will be displayed in the command window.
16
17 Error / Warning Messages
18 ^^^^^^^^^^^^^^^^^^^^^^^^
19
20 * Failed to initialize the SSL builder.: Could not create the SSL information for HTTPS calls.
21 * Failed to fetch the DCAE configurations.: Could not get the configurations coded in the component specification files.
22 * Failed to add rules.: Failed to deploy the rules distributed by CLAMP into Holmes.
23 * Failed to publish the control loop message to DMaaP.: Errors occur while publishing messages to DMaaP.
24 * Failed to read the API description file.: Could not find the swagger.json file.
25 * An error occurrred while reading swagger.json.: An I/O Exception occurs while reading the swagger.json file.
26
27