Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to see complete logs of system/console/event

Avatar

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

Avatar

Correct answer by
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

Avatar

Level 5

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

Avatar

Correct answer by
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

Avatar

Employee Advisor

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

Avatar

Employee Advisor

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

Avatar

Level 2

Thank you for all your responses.