Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Enables all available log sinks on the cache client, with the EventTrace level equal to Warning.
Namespace: System.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)
Syntax
'Declaration
Public Shared Sub EnableAllAvailableSinks
'Usage
CacheFactory.EnableAllAvailableSinks
public static void EnableAllAvailableSinks ()
public:
static void EnableAllAvailableSinks ()
public static void EnableAllAvailableSinks ()
public static function EnableAllAvailableSinks ()
Remarks
This method enables all available sinks on the cache client: console-based, file-based, and Event Tracing for Windows (ETW)-based log sinks. When the EnableAllAvailableSinks method is used, all these sinks are enabled and set to an EventTrace level equal to Warning (1). The file-based sink uses a file naming convention: DCacheTrace[$]/dd-hh, where $ is replaced by the Windows process identifier (PID), and dd-hh by the time format of "date-hour". For more information about log sink settings and log file naming conventions, see Log Sink Settings (Velocity).
See Also
Reference
CacheFactory Class
CacheFactory Members
System.Data.Caching Namespace