changed log to line