Add stdout capture for daemons to debug better.