Edit

Share via


SetupAPI Logging Registry Settings

SetupAPI logging supports a global event level and a global event category that control whether information is written to a text log. The event level controls the level of detail that is written to a text log and the event category determines the type of operations that can make log entries. If a log entry has an event level numerically less than or equal to the global event level of a text log, and if the event category of the log entry is enabled for the text log, the log entry is written to the text log; otherwise, the log entry is not written to the text log.

For information about how to set the event level, see Setting the Event Level for a Text Log.

For information about how to set the event categories that are enabled for a log, see Enabling Event Categories for a Text Log.

By default, the SetupAPI text logs are located in the %SystemRoot%\Inf directory. For information about how to change the directory where the text logs are located, see Setting the Directory Path of the Text Logs.