fix logging in yubikey