Solved
How To Enable Audit on /var/commerce/products path
Hi Team,
What is the process/steps to enable auditing on /var/commerce/products path. Request you to provide the inputs.
Regards,
Kalyan
Hi Team,
What is the process/steps to enable auditing on /var/commerce/products path. Request you to provide the inputs.
Regards,
Kalyan
You can write an JCR/Sling event listener for node add/modify and inside that you can check the condition and create event logs
AuditLogEntry auditLogEntry = new AuditLogEntry(node.EVENT_TOPIC, node.getModificationDate(), node.getUserId(), node.getPath(), "Node updated", node.getEventProperties()); entries.add(auditLogEntry);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.