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

Is there a way to export a log of all OSGi Configuration Changes?

Thomas-1977
Level 1
Level 1

Is there a way to generate and/or export a list/log of all OSGi configuration changes made within a certain timeframe.  If not is this information tracked in the JCR Repository in some state that we would be able to run a query on to try and identify the information?

 

We're currently running AEM 6.5.5.0.

audit logs osgi
1 Accepted Solution
Vijayalakshmi_S
Correct answer by
Community Advisor
Community Advisor

Hi @Thomas-1977,

Event with a topic - org/apache/felix/webconsole/plugins/event/internal/converter/ConfigurationEventConverter/CM_UPDATED is fired when we update an OSGI config. 

Perhaps you can write an EventHandler to listen to this topic and write desired action in handleEvent method. (For your use case, log about the event)

You can try the below in your local instance 

View solution in original post

1 Reply
Vijayalakshmi_S
Correct answer by
Community Advisor
Community Advisor

Hi @Thomas-1977,

Event with a topic - org/apache/felix/webconsole/plugins/event/internal/converter/ConfigurationEventConverter/CM_UPDATED is fired when we update an OSGI config. 

Perhaps you can write an EventHandler to listen to this topic and write desired action in handleEvent method. (For your use case, log about the event)

You can try the below in your local instance 

View solution in original post