os: Prevent app from redirecting log messages.

This happens e.g., with SurgeonSimulator2013