Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Query on messages which logged on replication

Avatar

Level 2

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. 

4 Replies

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.

Avatar

Administrator

Hi 

Please have a look at this old forum post, 

Link:-http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

I guess parsing Audit log could also hepl you.

~kautuk



Kautuk Sahni

Avatar

Level 2

kautuksahni wrote...

Hi 

Please have a look at this old forum post, 

Link:-http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

I guess parsing Audit log could also hepl you.

~kautuk

 

 

Thank you. Will look into this option.