Copied to clipboard

Flag this post as spam?

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


  • samantha harris 1 post 21 karma points
    Sep 18, 2014 @ 13:06
    samantha harris
    0

    log scrubbed entries

    We are currently running umbraco v4.11.10 and after reviewing the umbracolog table in the umbraco database I can see system entries 'log scrubbed. Removed all items older than 2014-07-05'

     

    CAn someone please let me know wheere this is configured? Also can the frequency and events to be deleted be ameneded? Some of data in this table might be needed by our security team and I am keen not to delete as frequently.

     

    Thanks in advance

    Sam

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Sep 18, 2014 @ 13:27
    Lee Kelleher
    0

    Hi Sam,

    The settings are hidden away in the /config/umbracoSettings.config file. Under the <logging> section, check if you have a property called <autoCleanLogs>.

    If <autoCleanLogs> is set to false, then the logs will not be scrubbed (automatically). If it's set to true, then there are a couple of other options that go with it: <cleaningMiliseconds> and <maxLogAge>

    <logging>
        <enableLogging>true</enableLogging>
        <enableAsyncLogging>true</enableAsyncLogging>
        <disabledLogTypes>
            <!-- <logTypeAlias>[alias-of-log-type-in-lowercase]</logTypeAlias> -->
        </disabledLogTypes>
        <autoCleanLogs>false</autoCleanLogs>
        <cleaningMiliseconds>86400</cleaningMiliseconds>
        <maxLogAge>1440</maxLogAge>
    </logging>
    

    If those properties are not defined in your <logging> section, then they'll default to 24 hours (86400 seconds).

    Hope this helps?

    Cheers,
    - Lee

Please Sign in or register to post replies

Write your reply to:

Draft