Is there a way to export a log of all OSGi Configuration Changes? | Community
Skip to main content
Level 3
Feb 8, 2021 7:06 PM UTC
Solved

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

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.
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
Feb 9, 2021 2:33 PM UTC

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
Feb 9, 2021 2:33 PM UTC

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 

Translate