ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
180 stars 110 forks source link

Create external log service and remove internal ActivityLogs #821

Open ppazos opened 6 years ago

ppazos commented 6 years ago

Send logs to external service in an async way to avoid adding execution time to each request and fill the local database with logs.

We need to log full requests without private data, and responses (success or errors).

Check the https://github.com/burtbeckwith/grails-httplogger

The external service will provide an interface to log all this data via HTTP requests, and a GUI for audit, reporting, etc. Managers in the EHRServer will be able to login to the EHRLogServer with their EHRServer credentials (if the EHRServer instance is logging into that EHRLogServer instance).

ppazos commented 6 years ago

Check https://github.com/kwart/simple-syslog-server https://github.com/CloudBees-community/syslog-java-client