Fixed regression of log output including "text" in detached mode.