Summary of Command-line Options for the Logger

Table 41 lists command-line options. Command-line options override the comparable settings in the lgrConfig.xml file.

Table 41: Command-line options

Option Description
--allowAllRemoteControl mode Specifies the response to remote control PDUs.
1 = Allow
2 = Do not allow.
{-c | --showConsole} mode Enables (1) or disables (0) display of a console window.
--configFile filename Specifies the configuration file to load.
filename Specifies a Logger file to load. This option uses an implicit -r OpenFile. If a filename starts with a hyphen (-), you must use the -r OpenFile syntax.
{-- | --ignore_rest} Ignore all arguments after this one.
{-h | --help} Displays a brief summary of Logger command-line arguments.
{-l | --logFileName} filename Specifies a file to send notification messages to. Default: logger.log.
--loggerTickRate rate The interval for the Logger tick rate, in milliseconds. For more information, please see The SetPlaybackReadTimeLimit Command.
{-m | --messageLevel} level Specifies the notification level for Logger messages for the log file. Range: 0-4.
{-n | --notifyLevel} level Specifies the notification level for VR-Link messages for the log file. Range: 0-4.
{-r | --runCommand} command Specifies a Logger command to run. You can specify -r multiple times. For more information, please see “Using Logger Commands on the Command Line“ on page 468.
{-v | --version} Displays version information and exits.
{-f | --fomMapperLib} libname Specifies the FOM Mapper to use if you are not using the default FOM. For details about how the Logger chooses the FOM Mapper, please see “Specifying a FOM Mapper“ on page 373.
--fomMapperInitData data Specifies FOM Mapper initialization data, if required.
{-F | --fedFileName} fedfile Specifies the FED file for the exercise.
--ignoreAdvisories mode If 1, ignore HLA advisory messages. If 0, do not ignore.
{-N | --federateName} federate_name Specifies the federate name for the Logger federate.
--rprFomVersion version Specifies the version of the RPR FOM to use.
--rprFomRevision revision If using RPR FOM 2.0017, specifies the revision to use.
--useEmptyFomMapper mode Specifies whether (1) or not (0) the Logger uses an empty FOM Mapper. For details about how the Logger chooses the FOM Mapper, please see “Specifying a FOM Mapper“ on page 373.
{-x | --execName} ExName Specifies the federation execution name.
Default: VR-Link.