This section describes how to view the Che server logs on the command line.
Procedure
-
In the terminal, run the following command to get the pods:
$ oc get pods
Example$ oc get pods NAME READY STATUS RESTARTS AGE che-11-j4w2b 1/1 Running 0 3m
-
To get the logs for a deployment, run the following command:
$ oc logs <name-of-pod>
Example$ oc logs che-11-j4w2b