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.
Besides writing your own application, as suggested by floyddotnet, you might think:
, , , : Log4net -. , , .
, log4net, , .
, log4net , - . SQL, .
, , Appender log4net end, log4net.
log4net:
http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/
:
http://logging.apache.org/log4net/release/manual/contexts.html
Source: https://habr.com/ru/post/1760374/More articles:Python timeout detection urllib2 urlopen - pythonDisplay a crossover (or other) when changing the contents of a control - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1760371/how-to-apply-multiple-events-to-the-same-function&usg=ALkJrhiDH8RWliGPCQ1hjocgvhhLncxP1QRow aggregation in sqlite - sqliteggplot2 hell with rpy2-2.0.7 + python 2.6 + r 2.11 (windows 7) - pythonWhy does my IEnumerable date not contain my date - dateR + ggplot: coordinate transformations and geom_fill - rFormat Eclipse snippets for blog posting? - eclipseR + ggplot: problems updating geom_tile - rASP.NET MVC Redirects Dilemma to Application_AuthenticateRequest - asp.net-mvcAll Articles