Is there a way to record which user has activated/deactivated a page in logs?
As of now the replication log information is being recorded in our error.log and we are only able to see the page path, replication agent userid and when it was replicated.
Views
Replies
Total Likes
The only way i can think of is to create a custom replication agent using the API:
https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/replication/Agent.html
Notice the method:
https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/replication/Agent.html#getConfiguration()
This returns an AgentConfig (https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/replication/AgentConfig.html)
This object has a methods that return user information.
Views
Replies
Total Likes
smacdonald2008 wrote...
The only way i can think of is to create a custom replication agent using the API:
https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/replication/Agent.html
Notice the method:
https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/replication/Agent.html#getConfiguration()
This returns an AgentConfig (https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/replication/AgentConfig.html)
This object has a methods that return user information.
Thank you for your response. But this is providing the UserId entered in the agent, not the userid with which the page has been activated.
Views
Replies
Total Likes
Hi
Please have a look at this old forum post,
I guess parsing Audit log could also hepl you.
~kautuk
Views
Replies
Total Likes
kautuksahni wrote...
Hi
Please have a look at this old forum post,
I guess parsing Audit log could also hepl you.
~kautuk
Thank you. Will look into this option.
Views
Replies
Total Likes
Views
Likes
Replies