added the loggin for device path