Blondu
Blondu
CC#
Created by Blondu on 8/30/2023 in #help
❔ Serilog Logs Scrambled from Multithreading
Does anyone know how to use Serilog in a more advanced way? I have a problem in my API when I run multiple request using multi threading from the client (a program that creates http requests) the logs look all scrambled and I would like to be sorted by time then by threadID. Did not find any Serilog tutorial about how to order/use when multithreading exists. My last resort is to order them after something changed in the file as a separate program/service but I would like to avoid that.
2 replies