This commit is contained in:
Sebastian Burckhardt 2021-01-04 15:57:10 -08:00
Родитель 4d403032b7
Коммит 5075e9dd10
2 изменённых файлов: 5 добавлений и 11 удалений

Просмотреть файл

@ -111,7 +111,7 @@ namespace DurableTask.Netherite
{
if (this.logger.IsEnabled(LogLevel.Information))
{
this.logger.LogDebug("Part{partition:D2} completed {workItemType}WorkItem {workItemId} instanceId={instanceId} status={status} producedMessageIds={producedMessageIds}",
this.logger.LogInformation("Part{partition:D2} completed {workItemType}WorkItem {workItemId} instanceId={instanceId} status={status} producedMessageIds={producedMessageIds}",
partitionId, workItemType, workItemId, instanceId, status, producedMessageIds);
}

Просмотреть файл

@ -19,22 +19,16 @@
//"Function.Receiver": "Information",
//"Function.Completion": "Information",
// ------ THe log levels below affect some (but not all) consumers
// ------ The log levels below affect some (but not all) consumers
// - limits what's displayed in the func.exe console
// - limits what gets stored in application insights
// - does not limit what is collected by ETW
// - does not limit what is traced to console
// - does not limit what is shown in Live Metrics side panel
// modest at information
"DurableTask.Netherite": "Information",
// modest at warning; on Information, one per event; on trace: one per object
"DurableTask.Netherite.Events": "Warning",
// modest at Information; on Trace, every storage access
"DurableTask.Netherite.FasterStorage": "Warning",
// modest at Information; on Trace, every message
"DurableTask.Netherite.EventHubsTransport": "Warning",
// modest at Information; on Debug, all work items; on Trace, all messages
"DurableTask.Netherite.Events": "Warning",
"DurableTask.Netherite.WorkItems": "Information"
},
"applicationInsights": {
@ -86,8 +80,8 @@
"LogLevelLimit": "Information",
"StorageLogLevelLimit": "Information",
"TransportLogLevelLimit": "Information",
"EventLogLevelLimit": "Debug",
"WorkItemLogLevelLimit": "Debug",
"EventLogLevelLimit": "Information",
"WorkItemLogLevelLimit": "Information",
// the following can be used to split and direct trace output to additional specific sinks
// which is useful in a testing and debugging context