Log Viewer

Note: The Log Viewer feature is not available on MassTransit SFTP servers.

The Log Viewer feature allows Web client contacts to see information from the Log window (through the MassTransit Web interface) based on privileges that are granted from the MassTransit Administrator contact information settings. For contacts with log viewing privileges, the MassTransit Web interface will have a "View Log" tab.

Depending on the assigned privileges, the Web client contact will be able to see all log entries of the Log window or only log entries for specified contacts. In addition, there are filters which can be set for displaying the information in a more convenient view and an option for auto-refreshing the displayed log entries.

When you have set filters in the Log Viewer, the displayed results are the ones that satisfy the conditions from all filters.

The filters available in the Log Viewer are the following:

View Only filters:

View Entries Dated Between filters:

The Log Viewer has an option for auto refreshing the displayed log information in real time. By default, the option is disabled but you can enable it by clicking on the On radio-button in the REAL-TIME REFRESH area of the "View Log" tab. To disable auto refreshing of the Log Viewer, click on the Off radio-button.

Configure Log Viewer

Configure Log Viewer User Interface

You can customize the user interface of the "View Log" tab in the MassTransit web site. To do that, follow the steps below:

  1. Open the mtweb.ini file located in the MTWeb directory. By default, this folder is placed on the system drive in:

    Note: All lines beginning with a semicolon (;) in the mtweb.ini file are considered commented and therefore ignored. Please ensure that all settings you change are uncommented (if you see ";" characters at the beginning of any of the settings you modify, delete them).

  2. Go to the USER INTERFACE section in the file.
  3. To set the maximum number of pages to be returned in search results in the Log Viewer, change the setting below. The maximum value of the setting is 100.
             LOGVIEWER_MAX_PAGES = 20
  4. To set the maximum number of pages of search results to show in page listing in the Log Viewer, modify the setting below. The maximum value is 25.
             LOGVIEWER_MAX_DISPLAYED_PAGES = 25
  5. To set the maximum number of search results to show per page in the Log Viewer, modify the following setting. The maximum value is 100.
             LOGVIEWER_RESULTS_PER_PAGE = 30
  6. You can configure a delay (in seconds) between completing one update and beginning the next when MassTransit Web is in live-update mode (REAL-TIME REFRESH is turned on). Values less than or equal to zero will be treated as 1 second. There is no maximum value.
             LOGVIEWER_UPDATE_DELAY_SECONDS = 10
  7. Log entry timestamps can be displayed in 24-hour format or in 12-hour format with am/pm displayed. Set to true the setting below if you want to use the 24-hour format. Set to false to use the 12-hour format.
             LOGVIEWER_24_FORMAT = "false"
  8. When you have configured all desired settings, save and close the mtweb.ini file.
  9. Restart the Internet Information Services (IIS) from the IIS Manager in order to apply the changes immediately.

Note: For more customizations of the MassTransit Web user interface, please refer to the MTWeb page.

Configure a Contact to Use Log Viewer

As mentioned above, only Web client contacts can use the Log Viewer feature and since it is configurable per contact, you need to perform the following steps for every contact that would use the feature.

To configure a contact to use Log Viewer:

  1. In the MassTransit Administrator, open the Contacts window by clicking on the Contacts button from the Navigation Bar or by selecting the Contacts option from the Window main menu.
  2. In the Contacts window, highlight a Web client contact to be configured to use the Log Viewer feature and click on the Edit... button.
  3. In the Contact Information window that appears, open the Security tab.
  4. Under the Web Privileges area of the Security tab, check the Allow User To Access Log check box and click on the Configure... button. This will allow the user to view ALL log entries. If you want to restrict the displayed in his user interface log entries to specified contacts only, continue with the steps below. Otherwise, skip to step 6.

  5. To limit the displayed to the Web client contact log entries:
    1. Check the Limit Log To Listed Contacts check box from the Web Privileges area as shown below:

    1. Then, specify the desired contacts that the user will be able to see log entries for from the Web Log & Files Limit Contact List area:

  6. When you are ready with the contact configuration, click on the OK button to save the changes.

The edited Web client contact will be able to view the defined log entries the next time he/she logs into the MassTransit web site. The log information will be displayed in the View Log tab of the contact's user interface.