Change the Cache Client Logging Level

Microsoft AppFabric 1.1 for Windows Server provides cache client logging with Event Tracing for Windows (ETW). The following procedure describes how to configure the logging level programmatically on the cache client.

These procedures assume that you have already prepared your development environment and set references to the AppFabric Caching assemblies. For more information, see Preparing the Cache Client Development Environment (AppFabric 1.1 Caching).

To set the logging level programmatically on the cache client

To change the logging level on the cache client, call the ChangeLogLevel method. The following example sets the logging level to TraceLevel.Verbose.


See Also