Configure the WMI logging level
23 March 2001 by Snakefoot | Comment » | Trackback OffThese logs are mostly necessary for WMI script developers or system administrators when searching for the cause of errors. For the average user these logs makes no sense and can just as well be disabled to avoid unnecessary I/O and defragmentation:%Windir%\System32\Wbem\Logs\Wbemcore.log
%Windir%\System32\Wbem\Logs\Wmiprov.log
%Windir%\System32\Wbem\Logs\Framework.log
- To configure logging press Start-button and Run... this command:
wmimgmt.msc
- In the Action-menu select Properties
- In the Logging-tab one can configure the logging
- The settings should be reflected in these registry keys:
[HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \WBEM \CIMOM]
Logging = "0" (Errors="1", Verbose="2", Default = "1")
Logging Directory = "%windir%\system32\wbem\logs"
Log File Max Size = "65536"
More Info MS KB Q252679
More Info MS KB Q836605
Note one can configure the location of this database:%Windir%\System32\Wbem\Repository
Note one can configure the size of this database:[HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \WBEM \CIMOM]
Installation Directory = "%Windir%\System32\Wbem"
Working Directory = "%Windir%\System32\Wbem"
Repository Directory = "%Windir%\System32\Wbem\Repository"
Note one can configure the recording of events:[HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \WBEM \CIMOM]
Starting Db Size = "400000"
Max DB Size = "400000"
Credits Alexander Peter Kowalski (APK)[HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \WBEM \CIMOM]
EnableEvents = "0" (Default = "1")
Tags:
Category:
Updated: 3 June 2007