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
BedrockMission!

Learn More

View all

Sign in to view all badges

enable audit log in AEM 6.0

Avatar

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
sunitac2231600
Level 3

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
Validate 1
Level 8
MC_Stuff
Level 8

Likes

78 likes

Total Posts

467 posts

Correct Reply

158 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 8
MC_Stuff
Level 8

Likes

78 likes

Total Posts

467 posts

Correct Reply

158 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
MC_Stuff
Level 8

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
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,161 likes

Total Posts

6,265 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,161 likes

Total Posts

6,265 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
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
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
sunitac2231600
Level 3

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
Validate 1
Level 8
MC_Stuff
Level 8

Likes

78 likes

Total Posts

467 posts

Correct Reply

158 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 8
MC_Stuff
Level 8

Likes

78 likes

Total Posts

467 posts

Correct Reply

158 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
MC_Stuff
Level 8

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
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
sunitac2231600
Level 3

05-05-2017

Hi MC,

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