Question:
How do I disable Verbose Logging for the ConfigMgr Administrator Console now I’ve finished troubleshooting my issue?
Answer:
Disabling Verbose Logging in ConfigMgr 2007 (all versions) is virtually the reverse of enabling it:
- On the machine running the Administrator Console where you want to disable Verbose Logging close the Administrator Console if it is open.
- Navigate to the “<InstallationPath>\AdminUI\bin” directory.
- Open “adminui.console.dll.config” in Notepad.
- Do a search for “SMS” which should take you to the line highlighted below:
<?xml version=”1.0″ encoding=”utf-8″ ?>
<configuration>
<configSections>
<sectionGroup name=”applicationSettings” type=”System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″ >
<section name=”Microsoft.ConfigurationManagement.AdminConsole.Console.Properties.Settings” type=”System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″ requirePermission=”false” />
</sectionGroup>
</configSections>
<system.diagnostics>
<sources>
<source name=”SmsAdminUISnapIn” switchValue=”Verbose” >
<listeners>
<add name=”Default” type=”System.Diagnostics.DefaultTraceListener”/>
<add name=”SmsFileTrace” type=”Microsoft.ConfigurationManagement.AdminConsole.SmsTraceListener.SmsTextWriterTraceListener, AdminUI.SmsTraceListener” initializeData=”SmsAdminUI.log”/>
</listeners>
</source>
</sources>
</system.diagnostics>
…
- Change switchValue=”Verbose” to switchValue=”Error”
- Load the Configuration Manager 2007 console.
- Navigate to the “<InstallationPath>\AdminUI\SMSAdminUI.log” file which should now only log “normal” activity.
- If you no longer need the log files generated by Verbose Logging delete them, just make sure you don’t delete the following:
- RepairWizard.log
- ResourceExplorer.log
- SMSAdminUI.log
