Viewing log files
About this task
- accelerate-consumer
- accelerate-ui
Viewing logs in a Kubernetes environment
About this task
The default log level is error. The level of logging can be changed on the log.level configuration property. Other logging levels are: all, debug, info, warn, error, and fatal. Logging can also be turned off on the configuration property.
Procedure
-
From a command line window, run the following command to obtain the pod names containing the
HCL™ Accelerate containers.
kubectl get pods
-
Run the following command to view the logs.
kubectl logs pod_name
Viewing logs in a Docker Compose environment
About this task
Procedure
-
From a command line window, run the following command to list containers.
The command output displays the containers and its ID.docker ps -a
-
To view the logs, use the docker logs command.
Run a separate command for each container.
docker logs accelerate_userinterface_container_id
docker logs accelerate_consumercontainer_id