send logs to stdout only during actual test