Base solution for your next web application
Open Closed

How to disable audit logs ? #3711


User avatar
0
mdonogma created

How to disable audit logs ? For all tenants in code?


3 Answer(s)
  • User Avatar
    0
    pumbinha created

    I made the same question some weeks ago. Now I'm only saving the logs that contain an exception. More info here: [https://forum.aspnetboilerplate.com/viewtopic.php?f=5&t=9467&p=20804&hilit=audit#p20804])

  • User Avatar
    0
    mdonogma created

    ABP team there has to be an easier way to do this? JSON Config setting or comment out some code?

  • User Avatar
    1
    ismcagdas created
    Support Team

    Hi @Mdonogma,

    You can disable audit loggin entirely on the system using configuration, see <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Audit-Logging#DocConfig">https://aspnetboilerplate.com/Pages/Doc ... #DocConfig</a>.

    Thanks.