Copied to clipboard

Flag this post as spam?

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


  • Richard Apelgren 2 posts 72 karma points
    Mar 25, 2022 @ 11:36
    Richard Apelgren
    0

    Umbraco 9 -Serilog - another sink for UmbracoFile?

    Hi,

    Is it possible to write the umbraco logfiles to another location than the default? ( the ones you'll find in my-project-folder\umbraco\Logs\ ,as for example UmbracoTraceLog.MY-COMPUTER.20220324.json )

    When I'm looking in the source code for Umbraco, it looks like they're always written to : ... hostingEnvironment.MapPathContentRoot(Cms.Core.Constants.SystemDirectories.LogFiles) ... But I may missunderstand something.

    BR Richard

Please Sign in or register to post replies

Write your reply to:

Draft