Search code examples
linuxgnu-screen

How to check the reason of socket terminated


I am running a spring boot application on a linux server using screen.

The application is running for approximately a few hours and then the socket is being unexpectedly terminated.

When I log in again on the server and run screen -ls - I just get No Sockets found in ...

How to check what was the reason of termination?


Solution

  • man screen:

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