Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

enable audit log in AEM 6.0

sunitac2231600
Level 4
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
MC_Stuff
Correct answer by
Level 9
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
MC_Stuff
Correct answer by
Level 9
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

sunitac2231600
Level 4
Level 4

Hi MC,

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

MC_Stuff
Level 9
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,

sunitac2231600
Level 4
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

kautuk_sahni
Employee
Employee

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