add output log line by line