get logs view and logic