Copied to clipboard

Flag this post as spam?

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


  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 14, 2015 @ 10:54
    Fuji Kusaka
    0

    How to purge table Umbraco Log ?

    Hi,

    Is there a way to purge the umbraco.log table in db or we need to this manually ?

    I just notice mine is massive due to number of updates we've been doing.

    Any advise, Truncate it ?

    //fuji

  • Gary Devenay 39 posts 245 karma points
    Jul 14, 2015 @ 11:01
    Gary Devenay
    0

    Hi Fuji,

    My advice would be to run something along the lines as the following:

    DELETE from umbracoLog WHERE logHeader in ('Error', 'Debug', 'Open', 'Custom', 'System', 'NotFound', 'Notify');
    

    There are possibly some plugins that will give you a UI to manage the logs, but I usually find that the log entries will calm down when the number of updates return to a normal pace.

    EDIT: The following package may be of use to you if you are looking for cleaner way to manage your logs: https://our.umbraco.org/projects/backoffice-extensions/falm-housekeeping

    Gary

Please Sign in or register to post replies

Write your reply to:

Draft