add logs to view