logger does not take Logger as argument


most likely old code, use add_device instead of passing child logger in constructor.