Created
January 1, 2013 06:42
-
-
Save SyntaxC4/4425606 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DiagnosticMonitorConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration" | |
configurationChangePollInterval="PT1M" | |
overallQuotaInMB="4096"> | |
<DiagnosticInfrastructureLogs bufferQuotaInMB="1024" | |
scheduledTransferLogLevelFilter="Verbose" | |
scheduledTransferPeriod="PT1M" /> | |
<Logs bufferQuotaInMB="1024" | |
scheduledTransferLogLevelFilter="Verbose" | |
scheduledTransferPeriod="PT1M" /> | |
<Directories bufferQuotaInMB="1024" | |
scheduledTransferPeriod="PT1M"> | |
<!-- These three elements specify the special directories | |
that are set up for the log types --> | |
<CrashDumps container="wad-crash-dumps" directoryQuotaInMB="256" /> | |
<FailedRequestLogs container="wad-frq" directoryQuotaInMB="256" /> | |
<IISLogs container="wad-iis" directoryQuotaInMB="256" /> | |
<!-- For regular directories the DataSources element is used --> | |
<DataSources> | |
<DirectoryConfiguration container="wad-panther" directoryQuotaInMB="128"> | |
<!-- Absolute specifies an absolute path with optional environment expansion --> | |
<Absolute expandEnvironment="true" path="%SystemRoot%\system32\sysprep\Panther" /> | |
</DirectoryConfiguration> | |
<DirectoryConfiguration container="wad-custom" directoryQuotaInMB="128"> | |
<!-- LocalResource specifies a path relative to a local | |
resource defined in the service definition --> | |
<LocalResource name="MyLoggingLocalResource" relativePath="logs" /> | |
</DirectoryConfiguration> | |
</DataSources> | |
</Directories> | |
<PerformanceCounters bufferQuotaInMB="512" scheduledTransferPeriod="PT1M"> | |
<!-- The counter specifier is in the same format as the imperative | |
diagnostics configuration API --> | |
<PerformanceCounterConfiguration | |
counterSpecifier="\Processor(_Total)\% Processor Time" sampleRate="PT5S" /> | |
</PerformanceCounters> | |
<WindowsEventLog bufferQuotaInMB="512" | |
scheduledTransferLogLevelFilter="Verbose" | |
scheduledTransferPeriod="PT1M"> | |
<!-- The event log name is in the same format as the imperative | |
diagnostics configuration API --> | |
<DataSource name="System!*" /> | |
</WindowsEventLog> | |
</DiagnosticMonitorConfiguration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment