NServiceBus icon indicating copy to clipboard operation
NServiceBus copied to clipboard

Use structured logs to output log information

Open Varorbc opened this issue 2 years ago • 7 comments

https://github.com/Particular/NServiceBus/blob/26388902447f0e567011615980dad124bd90a714/src/NServiceBus.Core/Recoverability/DelayedRetry.cs#L38

Varorbc avatar Sep 03 '21 02:09 Varorbc

I'm not sure when this will be picked up, but structured logging is on our backlog. Thanks for raising this.

Which library are you using for structured logging?

lailabougria avatar Sep 03 '21 08:09 lailabougria

serilog

Varorbc avatar Sep 03 '21 08:09 Varorbc

@lailabougria how would someone plug into a message discard to log a custom message?

SimonCropp avatar Jun 27 '22 05:06 SimonCropp

@SimonCropp what do you mean by "mesdsage discard"?

mauroservienti avatar Jun 27 '22 07:06 mauroservienti

@SimonCropp If you're referring to sending a message to the error queue with "message discard", then you could use an error notification to do that. The question is, is that what you're referring to? 😄

lailabougria avatar Jun 28 '22 08:06 lailabougria

@lailabougria This issue has been going on for almost a year. Is there a plan to support it?

Varorbc avatar Jul 14 '22 07:07 Varorbc