fixed error in createLogDriver()