Ce contenu n'est pas disponible dans la langue sélectionnée.
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>
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.