Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Znav
nextUsing Configuration Files
prevConfiguration File Syntax

In addition to setting properties in a configuration file, you can also set properties on the command line, for example:

Wiki Markup
{zcode}
$ ./server --Ice.UDP.SndSize=65535 --IceSSL.Trace.Security=2
{zcode}

Any command line option that begins with -- and is followed by one of the reserved prefixes is read and converted to a property setting when you create a communicator. Property settings on the command line override settings in a configuration file. If you set the same property more than once on the same command line, the last setting overrides any previous ones.

For convenience, any property not explicitly set to a value is set to the value 1. For example,

Wiki Markup
{zcode}
$ ./server --Ice.Trace.Protocol
{zcode}

is equivalent to

Wiki Markup
{zcode}
$ ./server --Ice.Trace.Protocol=1
{zcode}

Note that this feature only applies to properties that are set on the command line, but not to properties that are set from a configuration file.

You can also clear a property from the command line as follows:

Wiki Markup
{zcode}
$ ./server --Ice.Trace.Protocol=
{zcode}

As for properties set from a configuration file, assigning nothing to a property clears that property.

Ztop
See Also
Zret
Znav
nextUsing Configuration Files
prevConfiguration File Syntax