clean up logging in ctdiagnosticstests. added checks for fedora connection.