如何检查套接字终止的原因

How to check the reason of socket terminated

我正在 运行使用 screen 在 linux 服务器上安装 spring 启动应用程序。

应用程序 运行ning 大约几个小时,然后套接字意外终止。

当我再次登录服务器并且 运行 screen -ls - 我只得到 No Sockets found in ...

如何查看终止原因是什么?

人工屏幕:

   -L   tells screen to turn on automatic output logging for the windows.