add line numbers to output log