Setting the Notification Level

The notification level determines the verbosity of informational messages that the Logger generates. The range is 0-4, with 0 being least verbose. Some informational messages are generated by the Logger application and some are generated by the VR-Link libraries it is built against. You can set the notification level for each message source independently.

To configure the Logger notification level using a command interface, issue the -m and -n command-line options or the SetNotifyLevel command (Table 39).

Table 39: Notification level commands

Interface Command
Command line set OP_3DNV_LOGGER_EXTRA_ARGS = -m 2 -n 2
op_3dlog_launcher_<hla_version>.exe
or
set OP_3DNV_LOGGER_EXTRA_ARGS = -r "SetNotifyLevel 2 2"
op_3dlog_launcher_13.exe
Text interface SetNotifyLevel 2 2
lgrConfig.xml The SetNotifyLevel command is in the default configuration file.

Specifying the Log File

The Logger sends notification messages to a log file. The default log file is logger.log. If you assign a log file a name with the extension .lgr, the Logger adds a .log extension to ensure that the log file is not confused with a Logger file, or worse, overwrites a file.

To configure the log file, issue the -l command-line option (Table 40).

Table 40: Specifying the log file

Interface Command
Command line set OP_3DNV_LOGGER_EXTRA_ARGS = -l mylogfile.log
op_3dlog_launcher_<hla_version>.exe
Text interface None.
lgrConfig.xml The logFileName variable is in the default configuration file.