Added logging facilities.
Implemented log level filtering.
Added logging of capability discoverance.