[REVIEW and MERGE] use stdout for the app log