enable audit log in AEM 6.0 | Community
Skip to main content
Level 4
May 4, 2017
Solved

enable audit log in AEM 6.0

  • May 4, 2017
  • 5 replies
  • 7549 views

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 .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MC_Stuff

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,

5 replies

MC_Stuff
MC_StuffAccepted solution
Level 10
May 5, 2017

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,

Level 4
May 5, 2017

Hi MC,

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

MC_Stuff
Level 10
May 6, 2017

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,

Level 4
June 5, 2017

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.

Please see below is there in Logger in OSGI.

kautuk_sahni
Community Manager
Community Manager
June 6, 2017

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