Hi,
Where the Journal log are stored in cq5 server and is it implicitly configure or it has to be configure explicitly as asynchronous observation ?
Please provide sample to configure the journal observation in JCR.
Thanks in advance
Solved! Go to Solution.
Views
Replies
Total Likes
It stores in the form of data tar file at <cq_home>/crx-quickstart/repository/tarJournal. You can configure different general or custom built one in repository.xml. OOB configarable options for tar journal at http://dev.day.com/docs/en/cq/current/core/administering/persistence_managers.html#Journal
Views
Replies
Total Likes
It stores in the form of data tar file at <cq_home>/crx-quickstart/repository/tarJournal. You can configure different general or custom built one in repository.xml. OOB configarable options for tar journal at http://dev.day.com/docs/en/cq/current/core/administering/persistence_managers.html#Journal
Views
Replies
Total Likes
Sham HC wrote...
It stores in the form of data tar file at <cq_home>/crx-quickstart/repository/tarJournal. You can configure different general or custom built one in repository.xml. OOB configarable options for tar journal at http://dev.day.com/docs/en/cq/current/core/administering/persistence_managers.html#Journal
Thanks
I already referred that location but it seems it doesn't have any readable information.
What type of information the journal contains and how to capture it through program.
Suggest me a samples
Views
Replies
Total Likes
The journal is not supposed to be used by other components than the repository itself.
Jörg
Views
Replies
Total Likes
Jörg Hoh wrote...
The journal is not supposed to be used by other components than the repository itself.
Jörg
Yes.
But how we captured those information and use it for further process .
What type of information journal have ?
Thanks
Views
Replies
Total Likes
Why do you want to process the journal data? There is no API to access this data from outside of Jackrabbit/CRX, it's an implementation detail.
Jörg
Views
Replies
Total Likes
Jörg Hoh wrote...
Why do you want to process the journal data? There is no API to access this data from outside of Jackrabbit/CRX, it's an implementation detail.
Jörg
I ask the same question as Jörg. Why do you want to analyze the journal? Data masturbation?
Ove
Views
Replies
Total Likes
Jörg Hoh wrote...
Why do you want to process the journal data? There is no API to access this data from outside of Jackrabbit/CRX, it's an implementation detail.
Jörg
We have api javax.jcr.observation.ObservationManager through this we can access the jcr api from external environment.
some like that
ObservationManager observationManager = session.getWorkspace().getObservationManager();
EventJournal eventJournal = session.getWorkspace().getObservationManager().getEventJournal();
while(eventJournal.hasNext()){
Event event = eventJournal.nextEvent();
System.out.println("userdata"+event.getUserData());
System.out.println("Event:::"+event.getPath());
System.out.println("User ID"+event.getUserID());
But my question here is what kind of information journal contains about jcr repository.
Whether it is useful for tracking the changes made by user in jcr it may be field level,user level and node level change . All can be done through JCR async observation.
Purpose of journal observation ????
Thanks
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies