add a line logger for cloud