[5.0] Changed $app to $this->app in createLogDriver method