You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at least with stackify it doesn't seem the correlationID is included when logging. GS uses a very different type of enricher instead of the middleware used here, and it appears to work, so possibly look into that strategy.
The text was updated successfully, but these errors were encountered:
This is the way I linked them in here, not sure if that would work with the correlation id
var innerLog = log.ForContext("journalRequestId", journalRequest.RequestId);
innerLog.Warning("journalResult {journalResult}", JsonConvert.SerializeObject(result.GlJournalRequest));
foreach (var err in result.GlJournalRequest.ValidationResults.ErrorMessages)
{
innerLog.Warning("Transaction {TransactionId} rejected: {Message}",
transaction.Id, err);
}
at least with stackify it doesn't seem the correlationID is included when logging. GS uses a very different type of enricher instead of the middleware used here, and it appears to work, so possibly look into that strategy.
The text was updated successfully, but these errors were encountered: