Remove monolog dependency & use event dispatcher to debug queries