Copied to clipboard

Flag this post as spam?

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


  • Om 2 posts 72 karma points
    Aug 29, 2020 @ 15:26
    Om
    0

    AuditService does not showing custom audit message

    Hi,

    Hello Everyone, hope all doing well.

    I'm trying to insert AuditLog from the controller, it got inserted successfully. but my message not showing on Audit Trail.

    Code:

    _auditService.Add(AuditType.Custom, uerid, objectId, ObjectTypes.GetName(UmbracoObjectTypes.Document), "Custom message here, it is notshowing on audit trail");

    Response showing on Umbraco Audit Trail Panel as :

    [auditTrailssmallCustom] [auditTrailscustom].

    Please help how to set custom audit message, Umbraco V8

    thanks , om

  • Andreas Kristensen 65 posts 269 karma points c-trib
    Oct 05, 2022 @ 07:10
    Andreas Kristensen
    0

    I am having the same problem in v10. Did you ever find a solution?

Please Sign in or register to post replies

Write your reply to:

Draft