return an enumeration of all attached devices...

and also making logging configurable