logger fix errlog to output to correct logger
cli fix connection dos not properly close issue #16