added hooks for logviewcontroller