log4net unique request id in ASP.NET

前端 未结 4 1169
天涯浪人
天涯浪人 2020-12-30 23:24

log4net 1.2.11.0

I am trying to get anything that will allow me to log with a unique value for each ASP.NET request.

I tried %thread, but threads appear to

4条回答
  •  我在风中等你
    2020-12-31 00:01

    clock tick + process ID + thread ID as stored when your request starts should be sufficient, I think (assuming each thread handles 1 request at a time).

提交回复
热议问题