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

Avatar

Avatar

Thomas-1977

Avatar

Thomas-1977

Thomas-1977

08-02-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

09-02-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 

Answers (0)