Trying to identify the cause of restart of the wildfly application in a openshift POD:
POD Describeshows no restart for the POD.oc logs xxx --previousdoes not find any entry.Wildfly log directoryholds entry for the currentserver.log.
I remember something about using Kibana to see old logs.
What are the options to quickly see the old logs for wildfly running under openshift?
oc logs --previousdepends on container logs which is managed by container runtime(such as docker). If the pod(container) was restarted due to unnormal states, container logs are remained. At that case,oc logs --previousshows you old logs. As I see, the previous logs are not remained at the moment.How about looking for the previous logs using
Pod name,ProjectandTimestamp?