Questo contenuto non è disponibile nella lingua selezionata.
Appendix C. Checking OpenShift logs
You can use the oc logs command to view the OpenShift logs or the logs that the console provides for a running container.
Procedure
Enter the following command:
oc logs -f <pod_name> <container_name>
$ oc logs -f <pod_name> <container_name>Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteIn the preceding command, replace
<pod_name>and<container_name>with appropriate values for your deployment.Access logs are stored in the
/opt/jws-6.0/tomcat/logs/directory.