Advanced Options

The following tabs are used to configure advanced options for logging.

Note: Microsoft recommends that you not adjust any of the advanced options except the Display times in UTC formatting option unless advised to do so by Microsoft Customer Service and Support.

Formatting

Use this tab to specify advanced options to control log formats. Formatting does not impact how you capture logs, just how you view them on your computer.

Important: Microsoft recommends that you do not configure the options on this tab unless advised to do so by Microsoft Customer Service and Support.

Log File Prefix

Specifies the prefix used to format log files for components that support levels.

Important: Microsoft recommends that you do not configure this option unless advised to do so by Microsoft Customer Service and Support.

Real Time Prefix

Specifies the prefix used to format log files for the real-time monitoring console window.

Important: Microsoft recommends that you do not configure this option unless advised to do so by Microsoft Customer Service and Support.

Display times in UTC

Select this check box to display time stamps using Coordinated Universal Time (UTC). To display time stamps in the local server time, clear this check box.

Format file search path

Specifies the folder paths that Office Communications Server 2007 R2 Logging Tool can use to search for any additional .tmf files. Logging Tool has all the information necessary to capture log information for log levels and flags previously described. If you have access to trace information files that contain more tracing information, you can use this setting to specify the path to those trace information files.

Important: Microsoft recommends that you not configure this option unless advised to do so by Microsoft Customer Service and Support.

Browse

Click to browse for additional .tmf files.

Buffering

Use this tab to specify advanced options to change the default buffer value for real-time monitoring.

Important: Microsoft recommends that you not configure the options on this tab unless advised to do so by Microsoft Customer Service and Support.

Clock Resolution

Use this tab to specify advanced options to control resolution for the time stamp.

Important: Microsoft recommends that you do not configure the options on this tab unless advised to do so by Microsoft Customer Service and Support.

Additional Components

Use this tab to specify executables for additional components.

Important: Microsoft recommends that you do not configure the options on this tab unless advised to do so by Microsoft Customer Service and Support.

Learn More Online

Click to expand or collapse

Formatting

Each prefix supports the following variables:

  • %!COMP! for the component name.

  • %!LEVEL! for the level name.

  • %!FLAGS! for the flag name.

  • %!FUNC! for the name of the function or method that generated the log record.

  • %2 for the source file and line number that generated the record.

  • %3 for the ID of the thread that generated the record.

  • %4 for the time the event record was generated.

  • %5 for the cumulative processor time.

  • %7 for the local sequence number for the component.

  • %8 for the ID of the process that generated the record.

  • %9 for the number of the CPU that generated the record.

%1 and %6 are not allowed.

%3, %7, %8, and %9 are integers that should be followed by a printf-style numeric format specifier enclosed in exclamation marks. For example, %3!04X! displays the thread ID as a four-digit hexadecimal number.

%2, %4, and %5 are always strings, so they can only be followed by a string format specifier (!s!). Additionally, the real time prefix can contain the following escape characters: \n, \t, \s, or \\ that is replaced with a new line sequence, a tab, a space, and a single backslash, respectively.

For details, see the Operations section of the Office Communications Server Technical Library.

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×