Copied to clipboard

Flag this post as spam?

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


  • Paul Yates 32 posts 86 karma points
    Apr 03, 2017 @ 14:02
    Paul Yates
    0

    "Log scrubbed" entry in Umbraco log

    Roughly every 4 hours I have an entry in my Umbraco log like this:

    INFO umbraco.BusinessLogic.Log - Log scrubbed. Removed all items older than 2017-04-02 10:12:08

    What exactly is this doing? What is triggering this or how do i find out?

    I read somewhere that it clears the umbracoLog table but this table isn't being touched.

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Apr 03, 2017 @ 14:36
    Dan Diplo
    0

    Check out this issue: http://issues.umbraco.org/issue/U4-6320

    The LogScrubber class calls CleanLogs which essentially executes this SQL:

    delete from umbracoLog where datestamp < @oldestPermittedLogEntry and logHeader in ('open','system')

  • Paul Yates 32 posts 86 karma points
    Apr 04, 2017 @ 11:21
    Paul Yates
    0

    Thanks, so it's pretty benign really.

    Still being curious, looking at where this value seems to be set, i put

    <logging cleaningMiliseconds="1000000"></logging>
    

    in umbracoSettings.config but it doesn't like it.

    It says Parser Error Message: The value of the property 'cleaningMiliseconds' cannot be parsed. The error is: Object reference not set to an instance of an object.

Please Sign in or register to post replies

Write your reply to:

Draft