Copied to clipboard

Flag this post as spam?

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


  • paco 25 posts 155 karma points
    Jun 10, 2020 @ 14:19
    paco
    0

    Info about Serilog File path

    Hi all,

    I noticed that serilog.config file contains the following setting:

     <add key="serilog:write-to:File.path" value="%BASEDIR%\App_Data\Logs\UmbracoTraceLog.%MACHINENAME%..json" />
    

    Can I change this path, so that output log files are generated in another different path (e.g.: a centralized folder on my server machine)? And, in this case, the Umbraco 8.X log viewer continues to work?

    Thanks for your replies.

    Paco

  • Nik 1593 posts 7151 karma points MVP 6x c-trib
    Jun 10, 2020 @ 21:42
    Nik
    0

    Hi Paco,

    You "probably can", however, if you were going to do this, you would probably want your site to have a virtual folder that points to this location so it doesn't have to try and "write outside the web root" else you could have all sorts of permission issues.

    Thanks

    Nik

Please Sign in or register to post replies

Write your reply to:

Draft