Copied to clipboard

Flag this post as spam?

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


  • nickornotto 317 posts 679 karma points
    Jan 22, 2020 @ 19:37
    nickornotto
    0

    How to write logs to database rather than log txt file?

    We would like to write the errors to the database rather than to a file as it is easier to query.

    Any tips how to do it?

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Jan 27, 2020 @ 12:48
    Alex Skrypnyk
    100

    Hi Nick

    Are you using Umbraco 7?

    There is a file - /config/log4net.cofig that configures log4net

    I'm not log4net guru but I think you can specify how to write log entries there

    Thanks,

    Alex

  • 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