WMI to change logging levels in WCF?

I see a bunch of articles on MSDN on how WMI can do all kinds of things, and even a mention of how I can use AppDomainInfo to change the logging and tracing levels at runtime using WMI, but no code examples or implementations anywhere.

Has anyone done this? I'm using .net 4.0..

Answers


I used WMI Tools CIM Studio to do this successfully. It's pretty slick to change logging levels at runtime without restarting IIS. You can download it from Microsoft.


Need Your Help

MSI/MESI: How can we get "read miss" in shared state?

cpu-architecture cpu-cache

In The Cache Memory Book by Jim Handy (excerpt is below), the author has the table description of MESI protocol. The table looks very unclear to me, and unfortunately the text does not help.

PHP: Processing an object of records, not just one record

php web-services actionscript-3 zend-framework flex4

Currently, this service call only inserts a single (1) record. But I need to be able to send this method a true object with multiple records to be inserted during this call: