tweaked connect config in logger script