Reputation: 193
I installed a java EE application on Openshift V3 (migrated from v2 to v3 recently)
I have a running java pod and all the function seems to work fine over web.
Almost all the openshift settings are default
All my work is on image: jws30-tomcat8-basic-s2i
My biggest trouble right now is, I am not able to determine the location of all stdout from my java application deployed on server (I dont have any personal logger, I am just doing System.out.println at various places... I know poor me)
I went on to check "logs" directory in the pod-terminal and no files were present there.
I was wondering where is this file (containing all std outs) getting generated ?
(I understand if somebody would need more information like some env. variable or something, let me know I will get it...altho like I said 'vanilla openshift v3 tomcat').
Upvotes: 0
Views: 182
Reputation: 419
There are two places for you to check the standard logs. On the command line:
oc logs PODID
On the web console you can view the logs as well for a pod by looking at the pod detail. If you want a collated view of all logs for all pods (and aggregated logging is enabled for the cluster), click on the archive link when viewing a pods logs.
Upvotes: 1