add logs to view
appendTo for logs instead of prependTo