Home Help Center

Custom xml section within IceGrig application.xml.

voronkovvoronkov Member Sergey VoronkovOrganization: AigrindProject: Game
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

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

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

    Cheers,
    Benoit.
  • voronkovvoronkov Member Sergey VoronkovOrganization: AigrindProject: Game
    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?
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

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

    Cheers,
    Benoit.
  • voronkovvoronkov Member Sergey VoronkovOrganization: AigrindProject: Game
    Ok, I'll build my system, taking into account these limitations.
    Thanks.
Sign In or Register to comment.