Setting up audit logs module

Hey everyone, I am Divyansh. I have setup up the Patient Management ESM monorepo, and i wanted to setup the audit log module so i can familiarize myself with the flow of audit log in legacy UI. When i go to the administration route, i cannot find the audit logs section, i think i will have to upload that module first (am i wrong?), when i go on the modules section, i see the note to set module.allow_web_admin property to true first, my doubt is where exactly can i find this property?

Picture for reference

@olewandowski can you help me (or refer me to the relevant doc) to set up the openmrs-module-auditlogweb module?

Thanks!!

1 Like

Hi @divyanshsoni919 , yes, you’re right - you’ll need to compile the module first using Maven. Once it builds successfully, you should get the .omod file, and that’s the one you need to upload.

There’s an Installation section in the openmrs-module-auditlogweb README that walks through the setup, so I’d recommend following the steps there. Here’s the link: GitHub - openmrs/openmrs-module-auditlogweb · GitHub.

You shouldn’t need to build it from source yourself. The auditlogweb OMOD isn’t included in the RefApp, but it should be trivially addable to the RefApp the same way as any other module. (The README there, of course, instructs you to do so, but that’s developer docs; the OMOD is already available as org.openmrs.module:auditlogweb:1.0.0 or could be added here).

1 Like