Removed deprecated and unsed exception handler
Converted LogEvents to BaseQuery