resolved seg fault in logger, added logging functionality to every .c-file except performConnection (+ subclasses)