Archived

This forum has been archived. Please start a new discussion on GitHub.

Custom xml section within IceGrig application.xml.

Hi!

Is any way to keep my custom xml block within IceGrid application.xml and get it using Ice api?

For example, I would like to keep block like:

[HTML]<customLogSetting>
<targets async="true">
<target xsi:type="Console" name="c" layout="${verbose_inline}"/>
</targets>
<rules>
<logger name="*" writeTo="c" />
</rules>
</customLogSetting>[/HTML]

Thanks.

Comments

  • benoit
    benoit Rennes, France
    Hi,

    Sorry, it's not possible to store extra XML with the application. Perhaps you can store this configuration as Ice properties?

    Cheers,
    Benoit.
  • Hi!

    Yes, I can store this configuration as Ice property, but in this case xml should be escaped.

    As variant, can I store my config as separate xml file and update it with server patch command without restart of servers?
  • benoit
    benoit Rennes, France
    Hi,

    No this won't work because patching requires the server to be shutdown.

    Cheers,
    Benoit.
  • Ok, I'll build my system, taking into account these limitations.
    Thanks.