enable audit log in AEM 6.0

Avatar

Avatar

sunitac2231600

Avatar

sunitac2231600

sunitac2231600

04-05-2017

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 .

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

MC_Stuff

Avatar

MC_Stuff

MC_Stuff

05-05-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,

Answers (4)

Answers (4)

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
Community Manager

06-06-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

Avatar

Avatar

sunitac2231600

Avatar

sunitac2231600

sunitac2231600

05-06-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.

Audit-Log-Error.png

Please see below is there in Logger in OSGI.

1223288_pastedImage_1.png

Avatar

Avatar

MC_Stuff

Avatar

MC_Stuff

MC_Stuff

06-05-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,

Avatar

Avatar

sunitac2231600

Avatar

sunitac2231600

sunitac2231600

05-05-2017

Hi MC,

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