Configuring Logging Options

Configuring Logging Options

Use the Microsoft Management console (MMC) snap-in for Microsoft Speech Server (MSS) to enable logging, and set other logging options.

To capture MSS events to a file or to a debugging console, logging must first be enabled.

To enable logging using WMI scripting, refer to the topic on the WMI LogSettings class.

To enable logging using the MMC

  1. Open the MMC Administration console. (For instructions, see Administering Speech Server Using MMC.)

    Note  If the MSS services have not already been added to the console tree, see Adding or Removing a Service.

  2. In the details pane, right-click the service for which you wish to enable logging—Speech Engine Services (SES) or Telephony Application Services (TAS)—and then click Properties.

    Note  Logging settings are applied on a per-computer basis. If SES and TAS are installed on the same computer, the logging settings will be applied to both services.

  3. In the Server Log Configuration tab, check the Enable Logging box.

  4. Next to Rollover Time, use the arrows to specify the amount of time to wait (the upper limit is 1440 minutes, or 24 hours) before starting a new log file (.etl).

Note All files are saved until explicitly removed; this setting provides the ability to control log file size.

  1. Under Log File Location, type the directory where log files should be stored.

  2. Click Apply, then click OK.

  3. Repeat this process for the other service, if desired.

Remarks

Setting a rollover time creates a scheduled task called MssLogTask. To view scheduled tasks, select Scheduled Tasks from Control Panel. It is important not to delete MssLogTask. Use Task Scheduler to further customize the task.

Log files can quickly become very large. Ensure there is enough space on the specified drive, and that only the desired events are being gathered. For more information on modifying the events being captured to the logs, see Filtering Logged Events.

Using other tools to set logging options, such as the log file location, may invalidate settings specified in MMC.

Using the Performance Logs and Alerts page in the PerfMon management console to configure logging in MSS may result in unexpected behavior. Use either the MMC supplied with MSS or the MSSLogConfig tool instead.