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

Avatar

Avatar
Boost 1
Level 1
Thomas-1977
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
Thomas-1977
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
Thomas-1977
Level 1

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

573 likes

Total Posts

728 posts

Correct reply

240 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

573 likes

Total Posts

728 posts

Correct reply

240 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
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)