If you want to know if an application is running, implement health checks. I hope I never have to deal with the pattern suggested in this article in a production system.
Yup, he's trying to solve monitoring and logging with the same setup. I don't think I'd appreciate it, but like all the IT horror stories can be probably made to work.