Lusheng Ji | 72c4fba | 2017-10-10 18:12:22 +0000 | [diff] [blame] | 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 |
| 5 | ======= |
| 6 | |
Lusheng Ji | a73548f | 2017-11-05 19:24:05 -0500 | [diff] [blame] | 7 | DCAE logging is available in several levels. |
| 8 | |
| 9 | Platform VM Logging |
| 10 | ------------------- |
| 11 | 1. DCAE bootstrap VM: |
| 12 | * /var/log directory containing various system logs including cloud init logs. |
| 13 | * /tmp/dcae2_install.log file provided installation logs. |
| 14 | * **docker logs** command for DCAE bootstrap container logs. |
| 15 | 2. Cloudify Manager VM: |
| 16 | * /var/log directory containing various system logs including cloud init logs. |
| 17 | * Cloudify Manager GUI provides viewing access to Cloudify's operation logs. |
| 18 | 3. Consul cluster: |
| 19 | * /var/log directory containing various system logs including cloud init logs. |
| 20 | * Consul GUI provides viewing access to Consul registered platform and service components healthcheck logs. |
| 21 | 4. Docker hosts |
| 22 | * /var/log directory containing various system logs including cloud init logs. |
| 23 | * **docker logs** command for Docker container logs. |
Lusheng Ji | 72c4fba | 2017-10-10 18:12:22 +0000 | [diff] [blame] | 24 | |
| 25 | |
Lusheng Ji | a73548f | 2017-11-05 19:24:05 -0500 | [diff] [blame] | 26 | Component Logging |
| 27 | ----------------- |
Lusheng Ji | 72c4fba | 2017-10-10 18:12:22 +0000 | [diff] [blame] | 28 | |
Lusheng Ji | a73548f | 2017-11-05 19:24:05 -0500 | [diff] [blame] | 29 | In general the logs of service component can be accessed under the /opt/log directory of the container, either the Docker container or the VM. Their deployment logs can be found at the deployment engine and deployment location, e.g. Cloudify Manager, CDAP, and Docker hosts. |
Lusheng Ji | 72c4fba | 2017-10-10 18:12:22 +0000 | [diff] [blame] | 30 | |