Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuration files are not merged if more than one is found. The last one found wins.

In other words, if If you specify an absolute path on the command line it will override any requested search paths. This is a convenient way to do quick testing without having to modify an existing config file. Maybe you normally run with a certain configuration of listeners but then want to do a render with details printed to the console about a specific metric or group of metrics. 

For example, if you'd like to You could do a debugging run that temporarily overrides the default configuration in one of two ways. By pre-pending or setting the environment variable:

Code Block
setenv RMAN_STATS_CONFIG_PATH /my/test/directory
prman -statsconfig debug_stats.ini complicatedScene.rib

Which will load the stats configuration from "/my/test/directory/debug_stats.ini"

A Or by providing a full-path, absolute file name can also be provided on the command line which obviates the need for the environment variable. E.g. the above configuration file could also be loaded with the following command:

Code Block
prman -statsconfig /my/test/directory/debug_stats.ini complicatedScene.rib

If the filename provided on the command line is an absolute path the search path will be ignored.Both of these methods will load the stats configuration from "/my/test/directory/debug_stats.ini"


Note

Listener control and configuration are not yet dynamic. In most cases, a render must be restarted in order to see the configuration change. In the case of RfM and RfB, the application will need to be restarted.

...