Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Joe Begly 19 posts 110 karma points
    Sep 26, 2023 @ 20:43
    Joe Begly
    0

    Serilog Async Configuration

    Is the default Umbraco "sink" configuration writing logs async? We've been having some server anomalies (high CPU during times of moderate traffic, lots of logs being written) and our server consultant suggested we offload logging so that it's async. I assumed (possibly incorrectly) that since everything in .net core seems to follow an async pattern that logs would be the same.

    I saw this in the docs and it indicates it's by default "optimized for performance" but that is sort of vague.

    https://docs.umbraco.com/umbraco-cms/reference/configuration/serilog#changing-the-umbraco-sink

    We're running 10.3 on a Linux server inside a docker container, if that helps give a better answer.

    Thanks in advance!

Please Sign in or register to post replies

Write your reply to:

Draft