Skip to content

Commit 0cc8dac

Browse files
remove redunant line, bring back logging for a bit, sorry bobby
1 parent 5a8aa26 commit 0cc8dac

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

Modules/CIPPCore/Public/Webhooks/Test-CIPPAuditLogRules.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ function Test-CIPPAuditLogRules {
167167
$RecordSeconds = ($RecordEndTime - $RecordStartTime).TotalSeconds
168168
Write-Warning "Task took $RecordSeconds seconds for RowKey $($AuditRecord.id)"
169169
Write-Host "Removing row $($AuditRecord.id) from cache"
170-
$RowEntity = Get-CIPPAzDataTableEntity @CacheWebhooksTable -Filter "PartitionKey eq '$TenantFilter' and RowKey eq '$($AuditRecord.id)'"
171170
try {
172171
Write-Information 'Removing processed rows from cache'
173172
if ($AuditRecord.id) {

host.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,19 @@
1313
"maxConcurrentActivityFunctions": 1,
1414
"maxConcurrentOrchestratorFunctions": 1
1515
}
16+
},
17+
"logging": {
18+
"logLevel": {
19+
"default": "Trace",
20+
"Host.Results": "Trace",
21+
"Host.Aggregator": "Trace",
22+
"Function": "Trace",
23+
"Host.Executor": "Trace"
24+
},
25+
"applicationInsights": {
26+
"samplingSettings": {
27+
"isEnabled": false
28+
}
29+
}
1630
}
1731
}

0 commit comments

Comments
 (0)