Split logging dispatcher and handlers, Add PDO handler and HTTP handler