added logging output to stdout