-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
How would I go about setting the batchSize and taskDelayMilliseconds using appsettings.json? The following doesn't appear to be working as I'm hitting the 50000 block limit with similar number of lines in the log no matter what values I use.
"NLog": {
"extensions": [
{
"assembly": "NLog.Web.AspNetCore"
},
{
"assembly": "NLog.Extensions.AzureBlobStorage"
}
],
"targets": {
"blob": {
"type": "AzureBlobStorage",
"blobName": "${logger}/${shortdate:universalTime=True}.log",
"connectionString": "${configsetting:ConnectionStrings.Storage}",
"container": "logs",
"batchSize": 1000,
"taskDelayMilliseconds": 1000
}
},
"rules": [
{
"logger": "*",
"minLevel": "Trace",
"writeTo": "blob"
}
]
}
Metadata
Metadata
Assignees
Labels
No labels