Docker hung can someone suggest

Hi Metin

My question is if my docker gets chocked or stuck due to high cpu or memory,how can we verify the logs before it got stuck.

As you said we can configure the logs for existing docker whether we require the restart of docker?