First published on TechNet on Jan 22, 2009
[Today's post comes to us courtesy of Justin Crosby and Damian Leibaschoff]
[Today's post comes to us courtesy of Justin Crosby and Damian Leibaschoff]
In some scenarios you may want to increase the logging level for the SBS console and wizards. This post will detail how to change the logging mode. In order to change the logging level of the console you must edit the following configuration file: C:Program FilesWindows Small Business ServerBinlogging.config.
- Close any SBS applications that may be using logging (like console.exe)
- Go to SBS bin directory and locate file called logging.config .
- Save a backup copy of this file and then open this file in notepad. You need to run notepad with elevated credentials since the bin directory is in program files and thus protected by UAC.
-
Locate the <sources> and <predefinedsources> section of the file as seen below:
Note the values highlighted below – this specifies the threshold for the logging levels:
<sources>
<add level=" Information " name=" General ">
<listeners>
<add name="DefaultTraceListener" />
</listeners>
</add>
<add level=" Information " name=" Antimalware Reporting ">
<listeners>
<add name="DefaultTraceListener" />
</listeners>
</add>
<add level=" Information " name=" Security Plugin Infrastructure ">
<listeners>
<add name="DefaultTraceListener" />
</listeners>
</add>
<add level=" Information " name=" Update Services ">
<listeners>
<add name="DefaultTraceListener" />
</listeners>
</add>
</sources>
<predefinedsources>
<unmatched level=" Information " name=" Unmatched ">
<listeners>
<add name="DefaultTraceListener" />
</listeners>
</unmatched>
</predefinedsources>
-
Replace the level values (The “Information” value) with the desired value, such as “All”. This will enable
verbose
logging.These are the legal values:
- Off -> no logging entries goes through the filter
- All -> all logging entries go through the filter
- Critical -> only critical entries go through the filter
- Error -> only Critical and Errors would be logged
- Warning -> only Critical, Errors, and Warnings would be logged
- Information -> allows Critical, Errors, Warning, and Information events to be logged
- Verbose -> allows Critical, Error, Warning, Information, and Verbose
Note: In most cases changing the level for General and Unmatched should give you the detail you want, but if you want it all change all 5.
Updated Apr 04, 2019
Version 2.0sbs-team
Microsoft
Joined April 02, 2019
Windows Server Essentials and Small Business Server
Follow this blog board to get notified when there's new activity