Hi Bertwin,
If you have the following descriptor for example:
Code:
<icegrid>
<application name="Simple">
<node name="localhost">
<server id="SimpleServer" exe="./server" activation="on-demand">
<adapter name="Hello" endpoints="tcp" register-process="true">
<object identity="hello" type="::Demo::Hello" property="Identity"/>
</adapter>
<target name="debug">
<property name="Ice.Trace.Network" value="1"/>
<property name="Ice.Trace.Protocol" value="1"/>
</target>
</server>
</node>
</application>
</icegrid>
You can deploy the application with the following command to setup the server with the content of the "debug" target:
Code:
$ icegridadmin --Ice.Config=config
>>> application add application.xml debug
Or, if the application is already deployed and you want to update it to use the debug target:
Code:
$ icegridadmin --Ice.Config=config
>>> application update application.xml debug
Note that targets are specific to XML files and the IceGrid admin command line utility. You can't use targets with the IceGrid admin GUI or programatically with the IceGrid::Admin interface.
Cheers,
Benoit.