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.
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.
0
Comments
-
Hi,
Sorry, it's not possible to store extra XML with the application. Perhaps you can store this configuration as Ice properties?
Cheers,
Benoit.0 -
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?0 -
Hi,
No this won't work because patching requires the server to be shutdown.
Cheers,
Benoit.0 -
Ok, I'll build my system, taking into account these limitations.
Thanks.0