Trying to identify the cause of restart of the wildfly
application in a openshift POD
:
POD Describe
shows no restart for the POD. oc logs xxx --previous
does not find any entry.Wildfly log directory
holds entry for the current server.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 --previous
depends 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 --previous
shows 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
, Project
and Timestamp
?