dotnetomaniak.pl - Artykuły z tagiem serilogdotnetomaniak.pl - Artykuły z tagiem serilog2024-03-29T08:47:18Zhttps://dotnetomaniak.pl/Tags/serilogCopyright (c) dotnetomaniak.pldotnetomaniak.pl Atom Generatordotnetomaniak.pl webmasteradmin@dotnetomaniak.plhttps://dotnetomaniak.pl/Assets/Images/fav.icohttps://dotnetomaniak.pl/Assets/Images/dotnetomaniak_logo-negatyw_small.png8025https://dotnetomaniak.pl/Sprawdzony-sposob-na-zdalne-logowanie-bledow-w-Blazorze-z-SerilogSprawdzony sposób na zdalne logowanie błędów w Blazorze z Serilog2021-12-29T06:35:56Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_3TXiGiEqMEa1H6Rgp9azLw.png"/></div><div>Logi nieraz uratowały mi skórę, gdy musiałem szukać na szybko rozwiązania problemu z piątkowego release'u, więc staram się je dodawać projektów i pilnować ich przejrzystości. W tym wpisie pokaże Ci jak można dodać logi do aplikacji Blazor WebAssembly i przesyłać je do backendu. Zapraszam!</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Sprawdzony-sposob-na-zdalne-logowanie-bledow-w-Blazorze-z-Serilog"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fblazoracademy.pl%2fblog%2fsprawdzony-sposob-na-zdalne-logowanie-bledow-w-blazorze-z-serilog" style="border:0px"/></a></div></div>krystian_czaplickihttps://dotnetomaniak.pl/Users/MpBrpKEBwUuPYPS3R-T0sA2021-12-30T08:25:02Zhttps://dotnetomaniak.pl/Sprawdzony-sposob-na-zdalne-logowanie-bledow-w-Blazorze-z-Serilog1500Logi nieraz uratowały mi skórę, gdy musiałem szukać na szybko rozwiązania problemu z piątkowego release'u, więc staram się je dodawać projektów i pilnować ich przejrzystości. W tym wpisie pokaże Ci jak można dodać logi do aplikacji Blazor WebAssembly i przesyłać je do backendu. Zapraszam!https://blazoracademy.pl/blog/sprawdzony-sposob-na-zdalne-logowanie-bledow-w-blazorze-z-seriloghttp://dotnetomaniak.pl/Data/Thumbnails/small_3TXiGiEqMEa1H6Rgp9azLw.pnghttps://dotnetomaniak.pl/Customized-JSON-formatting-with-SerilogCustomized JSON formatting with Serilog2021-06-23T07:04:41Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_8ONTjHPd-EyYwHfVQLEPIg.png"/></div><div>TL;DR: Another Serilog Expressions by example post, showing how to produce newline-delimited JSON logs from Serilog events.
Newline-delimited JSON is a useful format for structured logs that will be read by other applications. Serilog’s built-in JsonFormatter implements this, but to my eyes, its output is awkward and verbose.
The newer CompactJsonFormatter and RenderedCompactJsonFormatter in Serilog.Formatting.Compact produce cleaner JSON, and that format is supported by other tools in the Serilog ecos...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Customized-JSON-formatting-with-Serilog"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fnblumhardt.com%2f2021%2f06%2fcustomize-serilog-json-output%2f" style="border:0px"/></a></div></div>Piotr Stapphttps://dotnetomaniak.pl/Users/uYS8cHLZukmjW_DgdZuz0Q2021-06-24T07:11:53Zhttps://dotnetomaniak.pl/Customized-JSON-formatting-with-Serilog1540TL;DR: Another Serilog Expressions by example post, showing how to produce newline-delimited JSON logs from Serilog events.
Newline-delimited JSON is a useful format for structured logs that will be read by other applications. Serilog’s built-in JsonFormatter implements this, but to my eyes, its output is awkward and verbose.
The newer CompactJsonFormatter and RenderedCompactJsonFormatter in Serilog.Formatting.Compact produce cleaner JSON, and that format is supported by other tools in the Serilog ecos...https://nblumhardt.com/2021/06/customize-serilog-json-output/http://dotnetomaniak.pl/Data/Thumbnails/small_8ONTjHPd-EyYwHfVQLEPIg.pnghttps://dotnetomaniak.pl/Customizing-Serilog-text-outputCustomizing Serilog text output2021-06-10T06:18:07Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_8KPuw3JzhkCW26E9Ctexng.png"/></div><div>TL;DR: Everything you need to know about formatting plain text with Serilog.Expressions, by example.
There are endless ways to format log output. With Serilog’s built-in “output templates”, you can choose the fields and text to include in log output, and use .NET format string-style alignment and width syntax, but that’s about it.
Serilog.Expressions is a fairly new library that plugs in to enable everything else. This post collects the plain text formatting questions I’ve fielded over the years, and t...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Customizing-Serilog-text-output"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fnblumhardt.com%2f2021%2f06%2fcustomize-serilog-text-output%2f" style="border:0px"/></a></div></div>Piotr Stapphttps://dotnetomaniak.pl/Users/uYS8cHLZukmjW_DgdZuz0Q2021-06-11T06:53:18Zhttps://dotnetomaniak.pl/Customizing-Serilog-text-output1240TL;DR: Everything you need to know about formatting plain text with Serilog.Expressions, by example.
There are endless ways to format log output. With Serilog’s built-in “output templates”, you can choose the fields and text to include in log output, and use .NET format string-style alignment and width syntax, but that’s about it.
Serilog.Expressions is a fairly new library that plugs in to enable everything else. This post collects the plain text formatting questions I’ve fielded over the years, and t...https://nblumhardt.com/2021/06/customize-serilog-text-output/http://dotnetomaniak.pl/Data/Thumbnails/small_8KPuw3JzhkCW26E9Ctexng.pnghttps://dotnetomaniak.pl/Keep-Calm-And-Serilog-Elasticsearch-Kibana-on-NET-Core-132-Spotkanie-WGNET-Wiadro-DanychKeep Calm And Serilog Elasticsearch Kibana on .NET Core - 132. Spotkanie WG.NET - Wiadro Danych2020-01-20T07:35:39Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_GYTEjpCFIkC-d6V2rlr7Mg.png"/></div><div>Prędzej czy później programista dowiaduje się o istotności logowania w swojej aplikacji. Najlepiej podejść do tematu w sposób „leniwy” tj. minimum wysiłku, maksimum efektów 😉. Elasticsearch i Kibana bardzo w tym pomagają. 16.01.2020 przedstawiłem swoje doświadczenia z tym związane na meetup-ie Warszawskiej Grupy .NET .
Slajdy i kod znajdziesz tutaj: https://wiadrodanych.pl/wg-net-serilog-elk/Autor MaciejOpublikowano Kategorie Elasticsearch, Logowanie, Programowanie, Wystąpienia, Zbieranie logówTagi a...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Keep-Calm-And-Serilog-Elasticsearch-Kibana-on-NET-Core-132-Spotkanie-WGNET-Wiadro-Danych"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fwiadrodanych.pl%2fwystapienia%2fkeep-calm-and-serilog-elasticsearch-kibana-on-net-core-132-spotkanie-wg-net%2f" style="border:0px"/></a></div></div>mszymczykhttps://dotnetomaniak.pl/Users/yBR97Zmw1ES3aCuyQj33bg2020-01-21T07:48:10Zhttps://dotnetomaniak.pl/Keep-Calm-And-Serilog-Elasticsearch-Kibana-on-NET-Core-132-Spotkanie-WGNET-Wiadro-Danych2750Prędzej czy później programista dowiaduje się o istotności logowania w swojej aplikacji. Najlepiej podejść do tematu w sposób „leniwy” tj. minimum wysiłku, maksimum efektów 😉. Elasticsearch i Kibana bardzo w tym pomagają. 16.01.2020 przedstawiłem swoje doświadczenia z tym związane na meetup-ie Warszawskiej Grupy .NET .
Slajdy i kod znajdziesz tutaj: https://wiadrodanych.pl/wg-net-serilog-elk/Autor MaciejOpublikowano Kategorie Elasticsearch, Logowanie, Programowanie, Wystąpienia, Zbieranie logówTagi a...https://wiadrodanych.pl/wystapienia/keep-calm-and-serilog-elasticsearch-kibana-on-net-core-132-spotkanie-wg-net/http://dotnetomaniak.pl/Data/Thumbnails/small_GYTEjpCFIkC-d6V2rlr7Mg.pnghttps://dotnetomaniak.pl/Konfiguracja-logowania-w-C-Serilog-ADMU-BlogKonfiguracja logowania w C# – Serilog – ADMU Blog2019-12-10T07:19:50Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_tcH4O3R3Y0qBIP-J-FOKnA.png"/></div><div>Ostatnio opisałem jak dodać logowanie przy pomocy biblioteki Serilog do naszej aplikacji. W tym poście postaram się pokazać jak można je skonfigurować.</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Konfiguracja-logowania-w-C-Serilog-ADMU-Blog"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fwww.admu.pl%2fkonfiguracja-logowania%2f" style="border:0px"/></a></div></div>Admuhttps://dotnetomaniak.pl/Users/kfXzovc8A0uP7ZbvqtdsWQ2019-12-11T07:48:08Zhttps://dotnetomaniak.pl/Konfiguracja-logowania-w-C-Serilog-ADMU-Blog21340Ostatnio opisałem jak dodać logowanie przy pomocy biblioteki Serilog do naszej aplikacji. W tym poście postaram się pokazać jak można je skonfigurować.https://www.admu.pl/konfiguracja-logowania/http://dotnetomaniak.pl/Data/Thumbnails/small_tcH4O3R3Y0qBIP-J-FOKnA.pnghttps://dotnetomaniak.pl/Logowanie-w-C-Serilog-ADMU-BlogLogowanie w C# – Serilog – ADMU Blog2019-12-03T07:05:58Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_rxa0xckyPEKGkqxgda9DNA.png"/></div><div>Chyba każdy z nas używa logowania w swojej aplikacji. Jeśli jednak ktoś tego nie robi, to zachęcam zacząć. W innym przypadku może być mu trudno zareagować, kiedy coś się wysypie.
Postaram się w kilku prostych krokach pokazać, jak dodać logowanie do naszej aplikacji z wykorzystaniem Serilog.</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Logowanie-w-C-Serilog-ADMU-Blog"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fwww.admu.pl%2flogowanie%2f" style="border:0px"/></a></div></div>Admuhttps://dotnetomaniak.pl/Users/kfXzovc8A0uP7ZbvqtdsWQ2019-12-04T07:44:37Zhttps://dotnetomaniak.pl/Logowanie-w-C-Serilog-ADMU-Blog21680Chyba każdy z nas używa logowania w swojej aplikacji. Jeśli jednak ktoś tego nie robi, to zachęcam zacząć. W innym przypadku może być mu trudno zareagować, kiedy coś się wysypie.
Postaram się w kilku prostych krokach pokazać, jak dodać logowanie do naszej aplikacji z wykorzystaniem Serilog.https://www.admu.pl/logowanie/http://dotnetomaniak.pl/Data/Thumbnails/small_rxa0xckyPEKGkqxgda9DNA.pnghttps://dotnetomaniak.pl/Structured-logs-with-Serilog-and-Application-Insights-HryniewskiNETStructured logs with Serilog and Application Insights – Hryniewski.NET2017-12-10T20:53:06Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_HWG9dwTeG0CqVUFgfSZN8Q.png"/></div><div>I’m working with Azure for quite a while now. Almost every single one of my projects lands there eventually and even if I don’t deploy it there, I’m using one of it’s databases. Recently I’ve started using Visual Studio Team Services for storing code and managing my every pet or demo project that I want to keep private for now. But there is one service available on Azure that I’m using for a very long time with great success and I really like to have it in my project – it’s Application Insights combined with Serilog to gather, store and browse through logs and exceptions generated in my applications.</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Structured-logs-with-Serilog-and-Application-Insights-HryniewskiNET"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2fhryniewski.net%2f2017%2f12%2f10%2fstructured-logs-with-serilog-and-application-insights%2f" style="border:0px"/></a></div></div>Rafał Hryniewskihttps://dotnetomaniak.pl/Users/gCipifzCGUGnNtWDwLo7kg2017-12-17T06:41:59Zhttps://dotnetomaniak.pl/Structured-logs-with-Serilog-and-Application-Insights-HryniewskiNET21070I’m working with Azure for quite a while now. Almost every single one of my projects lands there eventually and even if I don’t deploy it there, I’m using one of it’s databases. Recently I’ve started using Visual Studio Team Services for storing code and managing my every pet or demo project that I want to keep private for now. But there is one service available on Azure that I’m using for a very long time with great success and I really like to have it in my project – it’s Application Insights combined with Serilog to gather, store and browse through logs and exceptions generated in my applications.http://hryniewski.net/2017/12/10/structured-logs-with-serilog-and-application-insights/http://dotnetomaniak.pl/Data/Thumbnails/small_HWG9dwTeG0CqVUFgfSZN8Q.pnghttps://dotnetomaniak.pl/Semantic-logging-w-ASPNET-Core-Serilog-ElasticsearchSemantic logging w ASP.NET Core: Serilog + Elasticsearch2017-01-17T09:51:57Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_Eh0oSq2280SnX7D0xKiATQ.png"/></div><div>Czym jest semantic logging ? Co wyróżnia Serilog na tle innych bibliotek do logowania ? Jak to wszystko skonfigurować w ASP.NET Core?</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Semantic-logging-w-ASPNET-Core-Serilog-Elasticsearch"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2fmickl.net%2f2017%2f01%2f16%2fsemantic-logging-w-asp-net-core-serilog-elasticsearch%2f" style="border:0px"/></a></div></div>micklhttps://dotnetomaniak.pl/Users/4EOO-XQtWkqGbVDff7EODw2017-01-26T07:56:05Zhttps://dotnetomaniak.pl/Semantic-logging-w-ASPNET-Core-Serilog-Elasticsearch23290Czym jest semantic logging ? Co wyróżnia Serilog na tle innych bibliotek do logowania ? Jak to wszystko skonfigurować w ASP.NET Core?http://mickl.net/2017/01/16/semantic-logging-w-asp-net-core-serilog-elasticsearch/http://dotnetomaniak.pl/Data/Thumbnails/small_Eh0oSq2280SnX7D0xKiATQ.png