Fullscreen Image

View Log

You can view Operational, Error, and Database Detail logs in the Log Events page. You can also download them to your local drive for analysis by Accruent or your organization.

When pulling a long running record, DataMart posts log events every 30 minutes to let you know that the record is still processing.

If you delete a mapping, the associated history for that delta incremental update of target database run is also deleted even if you use the same database as the original mapping.

On the Log Events page, you can view and filter these log files:

  • db.log: Database persistence information.

  • error.log: Errors that occurred during each run.

  • ui-oper.log: A comprehensive log containing a super set of db.log and error.log.

Select a log file to view it. When the log opens, you can add the other logs to the display and add filters.

Click menu light gray background with three horizontal darker gray linesFile Browser to return to the initial list of log files.

Add a log to the view

  1. If you have not already done so, select a log file from the list of Favorites.

  2. Select the log menu in the upper-right corner of the page.

  3. Click Add Log.

  4. Click the log you want to add in the Favorites list.

    The log file is added to the display and the number of logs updates in the log menu.

  5. Repeat the steps until you have added the logs you want.

Get a permanent link to a specific log entry

  1. Click the log entry you want the link for.

  2. Click menu light gray background with three horizontal darker gray lines > Permalink to current position.

    The link is copied to the clipboard of the server or your computer depending on where you are running DataMartfrom.

  3. Paste the link into the application or file you want.

Search the displayed logs

  1. Enter the text that you want to search for in the search box

  2. If you want only items that match the case of the search text you entered, click Match Case Uppercase B, lowercase e .

  3. If you only want items that are a regular expression, click Regexp mode upper case R within circle.

  4. Click Previous occurrence up arrow and Next occurrence down arrow to scroll up and down entries in the log that match your search text.

  5. Select Hide unmatched to hide log entries that do not match the search text.

  6. To only display log entries of specific types, select Severity, then select or clear the check boxes depending on the entries you want to view.

Filter the displayed log

You can filter log events by:

  • Date
  • Thread
  • Events containing a stack trace
  • Text
  • JavaScript

Filter by date

  1. Click + Add filterDate filter.

  2. In the empty Timestamp filter dialog that opens, do one of the following:

    • Select Last X min then choose the time interval that you want to filter up to.

    • Select Since current moment to see events that occurred around now.

    • Enter a Start date and an End date to filter events to a specific time period.

    Some filter options apply immediately.

  3. If required, click Apply filter.

    The filter is added to the toolbar. An empty list displays if no entries match the time period.

Filter by thread

  1. Click + Add filterThread filter.

  2. Enter the thread name that you want or part of it.

    You can enter an asterisk * as a wildcard.

  3. Select Show or Hide depending on whether you want to show or hide records that match the thread.

Filter by stack trace

To only show events that have a stack trace, click + Add filterEvents containing a stacktrace.

Filter by text

You can add as many text filters as you want.

  1. Click + Add filterText filter.

  2. Enter a Filter name.

  3. Enter the text that you want to filter.

  4. Select Show only matched or Hide unmatched depending on whether you want to show or hide entries that match the filter text.

  5. If you want only items that match the case of the filter text you entered, select Match case.

  6. If you only want items that are a regular expression, select Regexp.

  7. If required, enable or disable the filter using the slider in the upper-right corner of the dialog.

  8. Click Save to save your changes or click Revert if you want to discard your changes.

Filter by JavaScript

You can add as many JavaScript filters as you want.

  1. Click + Add filterJavaScript filter.

  2. Enter a Filter name.

  3. Enter a function that determines whether the log even displays where:

    • text: Entire event text.

    • fields: Object containing event fields. The fields date, thread, level, logger, and msg are available in the log.

  4. Select Show only matched or Hide unmatched depending on whether you want to show or hide entries that match the filter text.

  5. If required, enable or disable the filter using the slider in the upper-right corner of the dialog.

  6. Click Save to save your changes or click Revert if you want to discard your changes.

Remove a filter

  1. Hover over the filter you want to remove in the toolbar.

  2. Click Remove filter x.

Download displayed logs

This downloads the displayed logs with the filters that you have applied as a ZIP file.

  1. Click menu light gray background with three horizontal darker gray lines > Download.

  2. Enter a File Name for the downloaded log.

  3. Select or clear the log check boxes depending on the logs you want to download.

  4. Click Download.