view and helper for logs