log commands which are sent to CLI

convert to jboss logging

fix imports