add basic logging to stdout