Our Blog

[This post comes to us courtesy of Swapnil Rane and Rituraj Choudhary from Global Business Support]

This post explains how to increase the logging level for the individual components of Server Essentials role for troubleshooting purposes. In order to accomplish this, we need to modify the Logging.config file. This file can be located at C:Program FilesWindows ServerBin on a Windows Server 2012 Essentials machine. On a Windows Server 2012 R2 Essentials this file is present at C:WindowsSystem32Essentials.

Make sure to save a backup copy of the file before modifying it. You need to change the ownership of Logging.configfile and give the user adequate permissions to save any modifications to it. You may use the following commands on an elevated Command Prompt to make modifications to the file:

For Windows Server 2012 R2 Essentials:

takeown /f C:WindowsSystem32EssentialsLogging.config
icacls C:WindowsSystem32EssentialsLogging.config /grant administrators:F
icacls C:WindowsSystem32EssentialsLogging.config /setowner "NT ServiceTrustedInstaller"
notepad C:WindowsSystem32EssentialsLogging.config

For Windows Server 2012 Essentials:

takeown /f "C:Program FilesWindows ServerBinLogging.config"
icacls "C:Program FilesWindows ServerBinLogging.config" /grant administrators:F
icacls "C:Program FilesWindows ServerBinLogging.config" /setowner "NT ServiceTrustedInstaller"
notepad "C:Program FilesWindows ServerBinLogging.config"

The file Logging.config is now ready for editing. Search for the string level= and replace the string next to level= to All if it is set otherwise. For example:

<add level="Warning" name="ProviderFramework">
<add name="DefaultTraceListener" />

Change it as:

<add level="All" name="ProviderFramework">
<add name="DefaultTraceListener" />

Changing the level to Allenables verbose logging. There are other values that the level can be set to, but mostly verbose logging is preferred, and can be achieved as mentioned above.

When the issue is reproduced subsequently, the logs at C:ProgramDataMicrosoftWindows ServerLogsfolder should now contain verbose information.

Note: You may use the same procedure to enable verbose logging on the Essentials clients.


mattdubois.com Contact Form


Yay! Message sent.
Error! Please validate your fields.
Updated August 2016 - Matt Dubois