Is there a way to export a log of all OSGi Configuration Changes? | Community
Skip to main content
Level 3
February 8, 2021
Solved

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

  • February 8, 2021
  • 1 reply
  • 855 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Vijayalakshmi_S

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 

1 reply

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
February 9, 2021

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