Expand my Community achievements bar.

SOLVED

enable audit log in AEM 6.0

Avatar

Level 4

Dear All,

I am aware that we can enable the audit log in AEM 6.0 for content deletion by which user.

I want to setup this one in AEM 6.0 OSGI.

Can anybody tell me in which configuration in AEM 6.0 , we need to enable for this for the contents under /content/mywebpage .

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Sunita,

By default it is enabled.  if you are looking for assets additional then follow http://cq-ops.tumblr.com/post/32802188133/how-to-enable-audit-logging-for-cq-dam

Thanks,

View solution in original post

5 Replies

Avatar

Correct answer by
Level 9

Hi Sunita,

By default it is enabled.  if you are looking for assets additional then follow http://cq-ops.tumblr.com/post/32802188133/how-to-enable-audit-logging-for-cq-dam

Thanks,

Avatar

Level 4

Hi MC,

Can you please let me know in which configuration , it is by default enabled ?

Avatar

Level 9

Hi Sunitha,

It is component [A] , if you don;t want auditing can stop the component.

[A]  http://host:port/system/console/components/com.day.cq.audit.impl.DefaultAuditLog

Thanks,

Avatar

Level 4

Dear All,

But I am not able to see any entry in my audit.log in AEM 6.0.

I deleted one webpage under /content/mycustomwebsite.

But I am not able to see any entry in my audit.log , as shown in below screenshot.

Audit-Log-Error.png

Please see below is there in Logger in OSGI.

1223288_pastedImage_1.png

Avatar

Administrator

Hi

Please follow the steps below:-

1. Go to:- http://localhost:4502/system/console/configMgr

2.  AEM 5.4 - 6.1

Search for "org.apache.sling.commons.log.LogManager.factory.config", there you will get 6-7 entries for this. Open it and see the log file name, open the "audit.log" (not the auditlog.log) and change the log Level to   

AEM 6.2

Search for logs/audit.log and change the log Level to Debug.

Now try to delete some page and look at the logs, it will show you results.

Doc Link:- https://docs.adobe.com/docs/en/cq/5-4/howto/logsaudits.html

I hope this will work for you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni