interreality.org [VOS]
[Home][About]
[Screenshots][Download]
[News][Community]
[Documentation][Manual]
[Bugs & Requests][Wiki]

B.2. VOS Runtime Settings Using Environment Variables

There are several environment variables that affect the behavior of VOS. Unix environment variables may be set temporarily in the shell, or permanently in user or system shell config/rc files. On Windows, variables may be set in the "System" control panel.

VOS_HOSTNAME

If defined, this value is used as the primary hostname, rather than the local hostname detected by VOS. This is the hostname that other people will need to use to contact your site, so it has to be valid for the Internet! This variable may also include a port number (e.g. example.dyndnl.org:4233) in which case VOS will listen on that port instead of using the first available port >= 4231.

VOS_LOG

Sets log levels for various channels. The format is: "Channel1=LEV1,Channel2=LEV2". The level is a priority running from 0 (highest priority/critical errors) to 6 (tons of debugging spam.)

VOS_LOG_DEFAULT

Sets the default log level for any channels not listed in VOS_LOG.

VOS_LOG_MASTER

Suppress ALL log messages with level greater than the given value. This overrides the log channel settings in VOS_LOG and VOS_DEFAULT_LOGLEVEL!

VOS_LOG_FILE

Redirect all log output to the specified filename

In addition to these variables, some applications (e.g. omnivos) recognize environment variables as well.