Hi Stephen,
Is your history provider plugin available on github?
Regards,
Sanya
Hi Stephen,
Is your history provider plugin available on github?
Regards,
Sanya
Hi @StephenOTT
Near the beginning of this thread you mention the configuration properties for the plugin:
<property name="directory" value="."/>
<property name="maxEventsPerFile" value="1000"/>
<property name="logEventsToConsole" value="false"/>
<property name="nullSubstitute" value="-"/>
I’m working on a custom history plugin and it will need access to various config properties. However, I can’t find any documentation on how to access these properties from within the plugin.
Can you explain how to do this or point me to the documentation on how to access config properties within a custom history backend.
Thank you very much.
Nevermind, I have figured this out.
I now see that for each property, you create setter and getter functions based on the property name, within the plugin. I see that the setter functions will be invoked with the property values from the configuration file upon startup.