Add a custom formatter for the logger
Replace while true with loop, as it's more idiomatic
Encapsulate option parsing into dedicated class
Change the name of the pid we're ignoring