fixed _log_to_stdout?()