Hey there, I got an application that runs in background an UDP socket server and it crashes sometimes giving me lots of problems with my clients. Is there any way to generate some log and write it to a file in order to findout what happens when the application crashes?
It’s one of the standard output streams. If your process is run by something like systemd it’s probably logged by systemd. If not you can pipe it to logger or a file; yourcommand 2>&1 > somefile.