With the idea of running multiple instances of the VXML interpreter (VXI) gradually gaining acceptance amongst the IR R2.0 community, it has become imperative that each instance of the VXI gets a copy of configuration files to read from. The present implementation allows for passing the name of the master configuration file as a command line argument. Commonly known by its default name, default.cfg, this file stores the configuration information for VXI including parameters related to session control, logging, speech, cache and telephony to name a few.
In releases prior to R2.0. a limitation while running the VXI was is the absence of any parameter that points to the file, that stores logging levels for different modules. The name of this file hard-coded to log.xml, which meant that all the running instances of VXI shared a common configuration, a handicap considering the restrictions it imposes on tunability.
To address this issue, in IR R2.0, a new file XXX.log.profile was invented to store this very information. Now the user can freely make copies of log.xml per running instance of VXI, and mention this name in the above file. XXX is a placeholder for the IRAPI name of a VXI instance, and has to specified against the command line switch "-name". For example, if VXI is fired using the command /vs/bin/vrs/avayaVXI -name AVAYAVXI0 -config /vs/data/vxml/default.cfg, then the name of the corresponding profile file would be AVAYAVXI0.log.profile, which in turn would hold the name of the associated log.xml file. Assuming the name of this XML file is log0.xml, the entry in AVAYAVXI0.log.profile would be:
LevelConfig=/vs/data/vxml/log0.xml
Comments can be added using the familiar pound (#) sign at the start of the line. AVvoicxml2-0 package will now include the default log.profile file which the user can replicate (and rename according to the rule stated above) for each of the VXI processes running. In case the instance specific file is not created (in our example, AVAYAVXI0.log.profile), the default log.profile will be assumed for that instance.