[Working] print log into stdout