Skip to content

Commit

Permalink
Fixed structured logging for publish message (#759)
Browse files Browse the repository at this point in the history
Co-authored-by: maurofranchi <mauro.franchi@just-eat.com>
  • Loading branch information
maurofranchi and maurofranchi committed Aug 17, 2020
1 parent 8554d97 commit 23eff8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JustSaying/AwsTools/MessageHandling/SnsTopicBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public async Task PublishAsync(Message message, CancellationToken cancellationTo
{
var response = await Client.PublishAsync(request, cancellationToken).ConfigureAwait(false);
_eventLog.LogInformation(
"Published message: '{Subject}' with content {Message} and request Id '{SnsRequestId}'",
"Published message: '{SnsSubject}' with content {SnsMessage} and request Id '{SnsRequestId}'",
request.Subject,
request.Message,
response?.ResponseMetadata?.RequestId);
Expand Down

0 comments on commit 23eff8f

Please sign in to comment.