replication History
hi all,
can let me know replication history saved in repository?any pointers on this higly appreciable
thanks
hi shankaa,
if looking log file contains information, can found at:
<cq5 instance>/crx-quickstart/logs/error.log
it not though replication history persisted in state looking for. suspect stored via singleton in agentmanager class.
my reasoning this:
1. if search crx repository unique string in error log, won't see one, items stored in replication queue.
2. if edit log file, not reflect in replication log explorer (e.g. http://localhost:4502/etc/replication/agents.author/publish.log.html)
3. if stop , start cq5 instance, log cleared, suggest volatile state in singleton.
the code log page can found in repository @ /libs/cq/replication/components/agent/log.jsp, and
line 10: agentmanager agentmgr = sling.getservice(agentmanager.class);
line 11: agent agent = agentname == null ? null : agentmgr.getagents().get(agentname);
line 30 (string line: agent.getlog().getlines()) {
suggests theory.
if wanting extract log reason, either pull out volatile history object, or else parse error.log file lines contain "day/cq/replication/job"
hope helps.
More discussions in Archived Spaces
adobe
Comments
Post a Comment