Copied to clipboard

Flag this post as spam?

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


  • Rolf Johansson 53 posts 315 karma points
    Feb 20, 2014 @ 10:55
    Rolf Johansson
    0

    Setting enableLogging to false has no effect on db logging in 6.1.6

    I tried disable db logging in 6.1.6 with "enableLogging" in umbracoSettings.config to "false", but the system keeps writing to umbracolog table in db. I've also tried adding disabledLogTypes with "new", "publish" etc but they also keep coming into the table.

    I have a test SurfaceController that echoes the UmbracoSettings.EnableLogging and it's truly read as "false".

    The problem seems to be in umbraco.businesslogic/Log.cs, but I can't find any apparent error. Maybe Umbraco thinks I have an Instance.ExternalLogger and then uses AddLocally? I don't have an ExternalLogger configured in umbracoSettings.

    Any ideas?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies