From 4b28b234ce2ac8ed6cce14fbe7853dcccffbd4eb Mon Sep 17 00:00:00 2001 From: Kyle Sabo Date: Wed, 30 May 2018 00:03:51 -0700 Subject: [PATCH 1/3] Update PowerShell.Core.Instrumentation.man Remove isolation attribute from Analytic and Debug channels. These channel types always have an isolation of Custom. The Admin channel was enabled by default, but the comments for the channel indicated that it should be off by default and thus it is OK to use a huge file size and have it stop collecting events when the size is reached. This looks like a copy/paste error where the logging element was copied from a channel with a different isolation type, so fix it by duplicating the Operational channel's logging element instead. Since no events are being written to the Admin channel currently, set it to disabled by default. --- .../PowerShell.Core.Instrumentation.man | 31 +++++++++---------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man index 350323f519c..46a38bc65f4 100644 --- a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man +++ b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man @@ -26,9 +26,10 @@ > + The Guid for this provider should not be changed. If it's + changed for any reason, then the old manifest needs to be + first uninstalled and then the changed manifest installed + (using wevtutil)--> - - - true - - 1048985600 + + false + + 15728640 From a780a9f9475edd0850ca6278dd8584177a4e42b5 Mon Sep 17 00:00:00 2001 From: Kyle Sabo Date: Wed, 6 Jun 2018 11:44:25 -0700 Subject: [PATCH 2/3] Remove admin channel The admin channel is not used by any events, so remove it. --- .../PowerShell.Core.Instrumentation.man | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man index 46a38bc65f4..394ef3b0f04 100644 --- a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man +++ b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man @@ -2263,23 +2263,6 @@ 64 - - - - false - - 15728640 - - Date: Wed, 6 Jun 2018 12:15:57 -0700 Subject: [PATCH 3/3] Update PowerShell.Core.Instrumentation.man --- .../PowerShell.Core.Instrumentation.man | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man index 394ef3b0f04..4022efa0656 100644 --- a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man +++ b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man @@ -2187,12 +2187,11 @@ /> -