Copied to clipboard

Flag this post as spam?

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


  • Mikael Axel Kleinwort 154 posts 499 karma points c-trib
    1 week ago
    Mikael Axel Kleinwort
    0

    Adding another logger to Umbraco (V13)

    I am trying to add another logger to Umbraco (Serilog Email Sink), however, I am unsure where to add the logger in Startup.cs. I am on Umbraco V13.

    I know how to create the new LoggerConfiguration, but what I don't knwo is what to do with it then :-)

    I try to do it in code, rather than in appsettings.json, since this way, it is easier to pull in secret credential information from other places.

    Any hint appreciated :-) ! Kind regards, Mikael

Please Sign in or register to post replies

Write your reply to:

Draft