update log to console stdout/stderr