Copied to clipboard

Flag this post as spam?

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


  • George Phillipson 108 posts 287 karma points
    Jun 07, 2019 @ 21:01
    George Phillipson
    1

    Serilog delete logs

    Hi Does anyone know of a way to delete the logs created by Serilog in the back office?

    I can go into App_Data/Logs and delete the files but is there any way to do this in the back-office.

  • Mikael Axel Kleinwort 142 posts 487 karma points c-trib
    May 19, 2021 @ 14:20
    Mikael Axel Kleinwort
    0

    I would be interested in the answer as well.

    What I would like to do is have the logs cleaned automatically once a day or week, let's say, only keep logs x days back.

  • billiblu 37 posts 62 karma points
    Mar 31, 2022 @ 10:54
    billiblu
    0

    On umbraco 8 you can resolve this issue editing the key "serilog:write-to:File.retainedFileCountLimit" on the serilog configuration file ("config\serilog.config").

Please Sign in or register to post replies

Write your reply to:

Draft