Add option to log only the chosen roles

Created on 16 August 2023, over 1 year ago
Updated 28 August 2023, about 1 year ago

There are occasions when you only need to log a small number of users, like testing accounts. An ability to simply log the selected roles would be fantastic.

✨ Feature request
Status

Closed: won't fix

Version

2.1

Component

User interface

Created by

πŸ‡΅πŸ‡ΉPortugal introfini

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @introfini
  • Status changed to Closed: won't fix about 1 year ago
  • πŸ‡ΊπŸ‡¦Ukraine zviryatko

    Hello introfini, thank you for interest to this module.

    Regarding this feature not sure it is needed for most of the users, but instead you can do such thing in custom code, just decorate "rest_log_subscriber" service and add custom logic to "logResponse()" method.

    Maybe it'll make sense to log only if there some specific return code, like 503, 404 or something. Or as you proposed user roles. Not sure.
    If you add implementation I can add that to module, but for now see no sense. Or if more people will vote 🀷.

Production build 0.71.5 2024