Specifying Logging Options

Topic Last Modified: 2009-02-27

Logging options include components, logging level, and flags to include in the log file contents. When it starts, Logging Tool detects any installed Office Communications Server components and then searches all their installation directories for executable files. It displays only those components that have an executable file on the computer. While tracing is running, you can select and cancel the use of specific components, levels, or flags. The trace sessions will update accordingly. Changes are applied immediately to the running trace for the selected component. You need to configure how logging is implemented for each of the following:

  • Level. For components that honor levels, you can specify an appropriate log level:

    • Fatal errors
    • Errors
    • Warnings
    • Information
    • Verbose
    • All
      Each level is inclusive of the levels preceding it in the list. For example: If you select warnings, logging includes fatal errors, errors, and warnings.
  • Flags. For each component, you can further specify logging flags. Only the flags available for a component are available in the list. You should select flags as advised by Microsoft Customer Service and Support.
    By default, all components honor the TF_COMPONENT flag. Selecting the All Flags check box enables generation of detailed traces (the former LcsTracer "Trace" option), which can then be used by Microsoft Customer Service and Support to further troubleshoot a problem.

    Note

    You can change flags for particular components after logging is enabled.

  • Components. The available components include the components that belong to the Office Communications Server role on which you are running Logging Tool. You should select components as advised by Microsoft Customer Service and Support. You can also enable or disable components after logging is started. Logging Tool collects logs for a component during the time it is enabled.

To specify logging options

  1. Open Office Communications Server 2007 R2 Logging Tool, New Debug Session.

  2. In Logging Options, select the components, level, and flags to be used for logging.