If we modify the trace level in the configuration file of our services, we will be forced to restart them so that the change to take effect, both when modifying to Verbose and when modifying to Warning. However, in some productive environments it's not possible restart the services (processes).
For this reason, the best option to modify the trace level in runtime is WMI. We can activate the WMI provider of our WCF services including the following entry in the "system.serviceModel" section of the configuration file:
<diagnostics wmiProviderEnabled="true" />
No comments:
Post a Comment