12.07.2015 Views

Nuance Vocalizer Developer's Guide - Avaya Support

Nuance Vocalizer Developer's Guide - Avaya Support

Nuance Vocalizer Developer's Guide - Avaya Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Enabling <strong>Vocalizer</strong> logsNote: For more information on information available through the Watcher, seethe <strong>Nuance</strong> Application Developer’s <strong>Guide</strong>.The <strong>Vocalizer</strong> TTS server process can generate logs similar to other <strong>Nuance</strong>runtime processes. If you are using the Watcher, you should enable logging, asstandard program output is otherwise lost.To enable logging:1 Create a folder to store the log files.2 On the vocalizer command line, set the parameter config.LogFileRootDirto the location at which you want log files to be written. This enables loggingand sets both the location to which the files are written and the “root” namefor the files. For example:> vocalizer config.LogFileRootDir=d:/data/logs/vocalizer/ttscauses <strong>Vocalizer</strong> to write log files named tts001, tts002, and so on to thedirectory d:\data\logs\vocalizer.Note: To set this parameter in a Watcher startup file, use forward slashes inyour path name instead of back slashes. On a Windows DOS command line,you can use either format.You can further control the behavior of the logging mechanism by setting theseparameters on the vocalizer command line:■■config.LogFileMaxNum controls the number of sequential log files created.If you set this to 5, for example, the logger creates tts001 through tts005 andthen restarts with tts001. The last version of the tts001 log file is replaced.config.LogFileMaxSize sets the maximum size of each log file, inmegabytes. If you set this to 1, for example, the logger writes to tts001 until itreaches 1 MB, and then closes tts001 and starts tts002.Note: config.LogFileRootDir and related parameters must be set on thecommand line for each process you want to generate logs, including vocalizerand watcher-daemon. You cannot set these parameters globally, for example, in anuance-resources.site file.Chapter 3 Configuring <strong>Vocalizer</strong> with the <strong>Nuance</strong> SystemEnabling <strong>Vocalizer</strong> logs23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!