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

SOLVED

How to see complete logs of system/console/event

NaziyaP
Level 2
Level 2

Dear All,

We want to analyze files(all files in all folders including apps/) that are being updated through publisher instance crxde Lite editor.
We can see events being logged under http://localhost:4502/system/console/event tab. but not able to see complete events, just the events of one hour .

Where or how can we see the complete logs of all events that are present.
Nothing is getting printed in our Audit log.

Thank you.

1 Accepted Solution
hamidk92094312
Correct answer by
Employee
Employee

I do not believe there is an all-inclusive switch to enable audit logs for "all" activities. You can enable audit log on demand for specific activities. For instance  to enable auditing of DAM activities you have to configure the relevant OSGi component i.e. “Day CQ DAM Event Recorder”.

OSGI config.png

View solution in original post

5 Replies
Umesh_Sondhi
Community Advisor
Community Advisor

Hi naziyap131007

You can get all the logs here access the tools in aem click on replication or search for replication on your search bar and Double-click the link to agents for the appropriate environment ,Click the appropriate agent name (which is a link) to show detailed information on that agent:

and for the logs click on View logs as highlighted .

1825717_pastedImage_0.png

Thanks

hamidk92094312
Correct answer by
Employee
Employee

I do not believe there is an all-inclusive switch to enable audit logs for "all" activities. You can enable audit log on demand for specific activities. For instance  to enable auditing of DAM activities you have to configure the relevant OSGi component i.e. “Day CQ DAM Event Recorder”.

OSGI config.png

View solution in original post

jbrar
Employee
Employee

Try setting up a DEBUG logger on the following class and it should capture all the events. You can parse the logs to further process the information.

org.apache.sling.event

Jörg_Hoh
Employee
Employee

The CRXDE Lite application itself is not able to log changes performed throuhg it, so you have to log ALL changes to the repository. Which is cumbersome and nearly impossible to analyze. See [1] for a way to trace really write activities to the JCR repository.

In the other hand: Why do you allow people to perform changes through CRXDE Lite? They should rather use the standard authoring UI to perform content changes. And any change to /apps during runtime (by people which are not admin) should be prevented via ACL.  You should never be in need to log changes performed via CRXDE Lite, in NO environment. Either it's a test environment (and therefor irrelevant) or PROD where it should never be allowed.

Jörg

[1] What is writing to my Oak repository? | Things on a content management system

NaziyaP
Level 2
Level 2

Thank you for all your responses.