Opal - Audit Logs

12 views
Skip to first unread message

Ricardo Cavalheiro

unread,
Jan 21, 2025, 6:37:27 AMJan 21
to obiba-users

Hello,

I am currently developing an application using the Opal as a backbone, and a new requirement has emerged regarding database functionality. Specifically, I need to implement audit logs to track certain user requests.

To achieve this, I was thinking about modifying the database by introducing a new table to accommodate the audit log functionality. However, I would appreciate some guidance on the best way to approach this change while ensuring compatibility with the platform and maintaining efficiency.

Can someone advise me on the most effective method to accomplish this?

Thank you for the attention!

Best regards,
Ricardo Cavalheiro

Yannick Marcon

unread,
Jan 21, 2025, 8:43:31 AMJan 21
to obiba...@googlegroups.com
Hi,

User requests are tracked in the rest.log file. This is the default configuration, see https://github.com/obiba/opal/blob/master/opal-server/src/main/conf/logback.xml#L72-L88
But you could define your own appender by specifying it in the logback config file. Then the rest log activity would be stored in a persistent storage of your choice.

If you need extra libs within the opal distribution, let us know with a feature request at:

Regards
Yannick
 

--
You received this message because you are subscribed to the Google Groups "obiba-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to obiba-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/obiba-users/b43fa2d7-4f0c-4408-a450-74e677263e49n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages