message format
This commit is contained in:
Родитель
26ff8f7ab3
Коммит
f7f3616fbe
|
@ -32,6 +32,13 @@ namespace nsgFunc
|
|||
throw new System.ArgumentNullException("blobContainerName", "Please provide setting.");
|
||||
}
|
||||
|
||||
string outputBinding = Util.GetEnvironmentVariable("outputBinding");
|
||||
if (outputBinding.Length == 0)
|
||||
{
|
||||
log.LogError("Value for outputBinding is required. Permitted values are: 'logstash', 'arcsight', 'splunk', 'eventhub'.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
var blobDetails = new BlobDetails(subId, resourceGroup, nsgName, blobYear, blobMonth, blobDay, blobHour, blobMinute, mac);
|
||||
|
||||
// get checkpoint
|
||||
|
@ -80,7 +87,7 @@ namespace nsgFunc
|
|||
try
|
||||
{
|
||||
int bytesSent = await Util.SendMessagesDownstreamAsync(nsgMessagesString, log);
|
||||
log.LogInformation($"Sending {nsgMessagesString.Length} bytes (denormalized to {bytesSent} bytes) downstream.");
|
||||
log.LogInformation($"Sending {nsgMessagesString.Length} bytes (denormalized to {bytesSent} bytes) downstream via output binding {outputBinding}.");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче