DORSETRIGS
Home

serilog (29 post)


posts by category not found!

Filter Serilog logs to different sinks depending on context source?

Filtering Serilog Logs for Targeted Logging with Sinks In modern software development effective logging is essential for debugging monitoring and understanding

2 min read 06-10-2024 52
Filter Serilog logs to different sinks depending on context source?
Filter Serilog logs to different sinks depending on context source?

How do I set up Splunk to receive logging from Serilog/.Net?

Sending Serilog Logs to Splunk A Comprehensive Guide Splunk is a powerful tool for collecting analyzing and visualizing logs making it an ideal choice for monit

3 min read 06-10-2024 46
How do I set up Splunk to receive logging from Serilog/.Net?
How do I set up Splunk to receive logging from Serilog/.Net?

'LoggerSinkConfiguration' does not contain a definition for 'Debug'

Logger Sink Configuration Doesnt Have a Debug Property Understanding and Solving the Issue Have you encountered the frustrating error Logger Sink Configuration

2 min read 05-10-2024 32
'LoggerSinkConfiguration' does not contain a definition for 'Debug'
'LoggerSinkConfiguration' does not contain a definition for 'Debug'

Serilog used with Prism 8 and Injecting Microsoft.Extensions.Logging.ILogger

Logging with Serilog in Prism 8 A Comprehensive Guide Logging is an essential part of any applications development process It provides invaluable insights into

3 min read 05-10-2024 49
Serilog used with Prism 8 and Injecting Microsoft.Extensions.Logging.ILogger
Serilog used with Prism 8 and Injecting Microsoft.Extensions.Logging.ILogger

Console application fails after updating to Serilog 7

Serilog 7 Update Blues Debugging Console App Failures Scenario You ve diligently updated your console application to the latest and greatest Serilog version 7 0

2 min read 05-10-2024 35
Console application fails after updating to Serilog 7
Console application fails after updating to Serilog 7

How do I configure Serilog MSSqlServer Sink with a GUID Id column?

Logging to SQL Server with GUID Ids Using Serilog A Step by Step Guide Logging is essential for any software application enabling developers to monitor performa

2 min read 05-10-2024 36
How do I configure Serilog MSSqlServer Sink with a GUID Id column?
How do I configure Serilog MSSqlServer Sink with a GUID Id column?

How to configure Serilog to dynamically route logs to different files based on service context at runtime?

Dynamically Routing Logs in Serilog Based on Runtime Context Logging is essential for debugging monitoring and understanding application behavior Serilog a popu

3 min read 04-10-2024 39
How to configure Serilog to dynamically route logs to different files based on service context at runtime?
How to configure Serilog to dynamically route logs to different files based on service context at runtime?

How to set username and password for authetication Serilog.Sinks.Email 4.0?

How to Set Username and Password for Authentication in Serilog Sinks Email 4 0 Serilog is a powerful logging library for NET that provides a range of sinks to o

3 min read 28-09-2024 42
How to set username and password for authetication Serilog.Sinks.Email 4.0?
How to set username and password for authetication Serilog.Sinks.Email 4.0?

Serilog categorized multiple Sinks

Understanding Serilog and Categorized Multiple Sinks Serilog is a popular logging library for NET applications known for its simplicity flexibility and ability

2 min read 22-09-2024 43
Serilog categorized multiple Sinks
Serilog categorized multiple Sinks

Serilog with Elastic.Serilog.Sinks - minimum log level is not reflected

Understanding Serilog with Elastic Serilog Sinks Minimum Log Level Not Reflected In the realm of NET logging Serilog has gained popularity for its structured lo

2 min read 22-09-2024 41
Serilog with Elastic.Serilog.Sinks - minimum log level is not reflected
Serilog with Elastic.Serilog.Sinks - minimum log level is not reflected

Serilog.Sinks.Email Send to pickup directory

Sending Serilog Logs to a Pickup Directory via Email Sink In the world of application logging Serilog has become a popular choice for NET developers due to its

2 min read 22-09-2024 46
Serilog.Sinks.Email Send to pickup directory
Serilog.Sinks.Email Send to pickup directory

How to format Serilog JSON output in a very specific manner

How to Format Serilog JSON Output in a Very Specific Manner Serilog is a powerful logging framework for NET applications renowned for its simplicity and versati

2 min read 21-09-2024 45
How to format Serilog JSON output in a very specific manner
How to format Serilog JSON output in a very specific manner

Serilog logger using var logger doesn't output anything either on console or in file

Troubleshooting Serilog Logger Why var logger Isnt Outputting to Console or File Serilog is a powerful logging library for NET applications that provides a flex

3 min read 20-09-2024 43
Serilog logger using var logger doesn't output anything either on console or in file
Serilog logger using var logger doesn't output anything either on console or in file

How to set up Serilog to log request and response bodies together?

How to Set Up Serilog to Log Request and Response Bodies Together When developing applications logging is a critical component for diagnosing issues and underst

3 min read 17-09-2024 49
How to set up Serilog to log request and response bodies together?
How to set up Serilog to log request and response bodies together?

Serilog.Sinks.Graylog works from a Web API app but does not appear to work from console app

Troubleshooting Serilog Sinks Graylog Web API vs Console Applications When working with logging in NET applications Serilog has become a popular choice due to i

2 min read 17-09-2024 43
Serilog.Sinks.Graylog works from a Web API app but does not appear to work from console app
Serilog.Sinks.Graylog works from a Web API app but does not appear to work from console app

Duplicate log entries in Application Insights with Isolated Azure Functions with ASP.NET Core Integration and Serilog

Understanding Duplicate Log Entries in Application Insights with Isolated Azure Functions ASP NET Core Integration and Serilog When working with Azure Functions

3 min read 16-09-2024 49
Duplicate log entries in Application Insights with Isolated Azure Functions with ASP.NET Core Integration and Serilog
Duplicate log entries in Application Insights with Isolated Azure Functions with ASP.NET Core Integration and Serilog

Serilog - how to customize date in rolling file name?

Customizing Date Formatting in Serilog Rolling File Names Serilog offers powerful and flexible logging capabilities including the ability to roll log files base

2 min read 05-09-2024 36
Serilog - how to customize date in rolling file name?
Serilog - how to customize date in rolling file name?

How to configure multiple instances of a program to write to different log files in Serilog?

Running Multiple Instances of Your Serilog App How to Configure Separate Log Files Are you running multiple instances of your NET Core 7 application and struggl

3 min read 03-09-2024 42
How to configure multiple instances of a program to write to different log files in Serilog?
How to configure multiple instances of a program to write to different log files in Serilog?

Debugging MAUI Blazor App in Chrome style or getting errors seen

Debugging MAUI Blazor Apps A Deep Dive into Error Handling and Chrome Style Tools Migrating a Blazor web app to MAUI opens up exciting possibilities for cross p

3 min read 31-08-2024 46
Debugging MAUI Blazor App in Chrome style or getting errors seen
Debugging MAUI Blazor App in Chrome style or getting errors seen

Limiting number of logs in a blob file in Azure functions log to Blob Storage

Limiting Azure Function Logs in Blob Storage A Detailed Guide This article delves into the common problem of managing log files generated by Azure Functions and

3 min read 31-08-2024 50
Limiting number of logs in a blob file in Azure functions log to Blob Storage
Limiting number of logs in a blob file in Azure functions log to Blob Storage

Why I can't catch and log "Out of Memory" exception?

Why You Cant Catch and Log Out of Memory Exceptions in NET 6 When a NET 6 application crashes due to an Out of Memory exception it can be frustrating to find th

2 min read 30-08-2024 57
Why I can't catch and log "Out of Memory" exception?
Why I can't catch and log "Out of Memory" exception?

Adding extra properties to ILogger<T> structured logging

Enhancing I Logger T Structured Logging Adding Extra Properties When using I Logger T for structured logging its often desirable to include additional propertie

2 min read 30-08-2024 51
Adding extra properties to ILogger<T> structured logging
Adding extra properties to ILogger<T> structured logging

Want to use WebHost and serilog in .NET 8

Integrating Serilog with NET 8 Web Host A Comprehensive Guide Logging is a crucial aspect of any application development especially in production environments S

2 min read 30-08-2024 69
Want to use WebHost and serilog in .NET 8
Want to use WebHost and serilog in .NET 8

How to log directly to Grafana Loki using Serilog with OpenTelemetry

Logging Directly to Grafana Loki using Serilog and Open Telemetry This article explores how to send logs directly from Serilog to Grafana Loki using Open Teleme

2 min read 30-08-2024 43
How to log directly to Grafana Loki using Serilog with OpenTelemetry
How to log directly to Grafana Loki using Serilog with OpenTelemetry

How to add elapsed time in log using dotnet serilog?

Measuring Execution Time with Serilog A Comprehensive Guide Logging execution times is crucial for understanding application performance and identifying potenti

2 min read 29-08-2024 48
How to add elapsed time in log using dotnet serilog?
How to add elapsed time in log using dotnet serilog?