MrSnowflake, thank you for your reply.
The problem of the command line monitoring is that It's necessary to run it on the startup and there is no way to introduce this on the real device. In case of the system crash there is actually no way for me to get the system log in let's say 4 hours after the crash.
For my understanding implementing my own logging doesn't help because I need the system log information (if my program crashes)
Thanks in advance,