Ostatnio w moim jednym pet projekcie (pisany w ASP.NET Core 3.1.) wymyśliłem sobie tak, aby do bazy zapisywane były tylko te logi, które: W polu SourceContext zawieraja się namespace aplikacji lub pole @Exception nie jest puste.
Sztuka programowania 1799 dni, 7 godzin, 42 minuty temu 71 źrodło rozwiń
Often developers as a log store use text files, system events, output console or database. In some cases they use distributed systems such Splunk or Elasticsearch. In this article I would like to present how to store logs in the form of objects, rather than plain text, which also offers all sorts of graphs and charts called dashboards.
Sztuka programowania 3048 dni, 10 godzin, 8 minut temu 212 źrodło rozwiń