Get log ID for log4net ADONetAppender

I use log4net in a web application and log all page errors on the SQL server. I was wondering if there is a way to get the record ID generated by it. I am moving away from the documentation found here.

http://logging.apache.org/log4net/release/config-examples.html

I want to use this identifier as a reference number that I can show the client so that they can contact customer support to search the system and should not go through the log file.

+3
source share
3 answers

Besides writing your own application, as suggested by floyddotnet, you might think:

  • GUID. . : , . , .
  • . , , .
  • : Guid , .

, , , : Log4net -. , , .

+4

, log4net, , .

, log4net , - . SQL, .

+1

Source: https://habr.com/ru/post/1760374/


All Articles