.. md_log_behavior.rst .. _md-log-behavior-label: ============================= Logging Minidriver Behavior ============================= Should errors occur in the use of the YubiKey as a PIV Smart Card with YKMD, error logging can be enabled on the local computer using the registry. Once enabled, log files are created per running process in ``C:\Logs``. See `Smart Card Basic Troubleshooting `_ for additional troubleshooting steps. • Key: ``HKEY_LOCAL_MACHINE\SOFTWARE\Yubico\ykmd`` • Value: ``DebugOn`` (DWORD) - ``1`` enables error logging. .. Note:: Refer to :ref:`md-config-registry-label` for additional registry settings.