Accessing the application logs
Following are the steps to check the logs for a specific pod.
- Select the right project.
- Select Networking > Pods.
- Click the Pod Name for viewing the logs and events.
Viewing Logs
You can change the logs for different replica of this pod using the drop-down (mentioned in blue box). Also, the logs displayed on this page are scrolling. For debugging purposes, it is recommended to view in full view or save then logs to go through using your favorite text editor (see the red box).
Viewing Events
This tab displays the different events in the life cycle of a pod. The event description here is useful while debugging issues.
How to change application log level
You can change the log level by defining a Custom Resource Definition (CRD) property. The following example shows how to increase the log details for the application by applying a DEBUG level.
apiVersion: processmining.ibm.com/v1beta1
kind: ProcessMining
metadata:
name: pm1
namespace: processmining
spec:
version : 1.14.1
license:
accept: true
cloudPak: IBM Cloud Pak for Business Automation
defaultStorageClassName: rook-cephfs
loglevel: DEBUG