Skip to content

Commit

Permalink
Removed retention policy
Browse files Browse the repository at this point in the history
  • Loading branch information
jamasten committed Sep 20, 2023
1 parent 42e0ccb commit a2908e6
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,20 +128,12 @@ var enableReferencedModulesTelemetry = false
var diagnosticsLogsSpecified = [for category in filter(diagnosticLogCategoriesToEnable, item => item != 'allLogs'): {
category: category
enabled: true
retentionPolicy: {
enabled: true
days: diagnosticLogsRetentionInDays
}
}]

var diagnosticsLogs = contains(diagnosticLogCategoriesToEnable, 'allLogs') ? [
{
categoryGroup: 'allLogs'
enabled: true
retentionPolicy: {
enabled: true
days: diagnosticLogsRetentionInDays
}
}
] : diagnosticsLogsSpecified

Expand Down

0 comments on commit a2908e6

Please sign in to comment.