fix for create equipment with existing code. logger for device class