Example code logger user actions

Completed

Requested by leandro-hermes  

Example detailing how to produce system logs on every authenticated user action

4

Join The Discussion! (2 Replies)

Please sign in or sign up for free to join in on the dicussion.

  1. Request completed 1 year ago with the following comment

    Alrighty, this was released yesterday and can be found here:

    https://adocasts.com/lessons/how-to-use-adonisjs-model-hooks-to-log-all-user-actions

    Thanks again for your request!

    1

    Please sign in or sign up for free to reply

  2. Request approved 1 year ago with the following comment

    Hi Leandro, thank you for your request! This sounds like a great lesson. This can be done globally for all models by hooking into the base model's event system.

    I should have this lesson out on July 2nd or 9th.

    1

    Please sign in or sign up for free to reply