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 > File Browser to return to the initial list of log files.
Add a log to the view
-
If you have not already done so, select a log file from the list of Favorites.
-
Select the log menu in the upper-right corner of the page.
-
Click Add Log.
-
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.
-
Repeat the steps until you have added the logs you want.
Get a permanent link to a specific log entry
-
Click the log entry you want the link for.
-
Click menu
> Permalink to current position.
The link is copied to the clipboard of the server or your computer depending on where you are running DataMartfrom.
-
Paste the link into the application or file you want.
Search the displayed logs
-
Enter the text that you want to search for in the search box
-
If you want only items that match the case of the search text you entered, click Match Case
.
-
If you only want items that are a regular expression, click Regexp mode
.
-
Click Previous occurrence
and Next occurrence
to scroll up and down entries in the log that match your search text.
-
Select Hide unmatched to hide log entries that do not match the search text.
-
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
-
Click + Add filter > Date filter.
-
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.
-
-
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
-
Click + Add filter > Thread filter.
-
Enter the thread name that you want or part of it.
You can enter an asterisk * as a wildcard.
-
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 filter > Events containing a stacktrace.
Filter by text
You can add as many text filters as you want.
-
Click + Add filter > Text filter.
-
Enter a Filter name.
-
Enter the text that you want to filter.
-
Select Show only matched or Hide unmatched depending on whether you want to show or hide entries that match the filter text.
-
If you want only items that match the case of the filter text you entered, select Match case.
-
If you only want items that are a regular expression, select Regexp.
-
If required, enable or disable the filter using the slider in the upper-right corner of the dialog.
-
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.
-
Click + Add filter > JavaScript filter.
-
Enter a Filter name.
-
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.
-
-
Select Show only matched or Hide unmatched depending on whether you want to show or hide entries that match the filter text.
-
If required, enable or disable the filter using the slider in the upper-right corner of the dialog.
-
Click Save to save your changes or click Revert if you want to discard your changes.
Remove a filter
-
Hover over the filter you want to remove in the toolbar.
-
Click Remove filter x.
Download displayed logs
This downloads the displayed logs with the filters that you have applied as a ZIP file.
-
Click menu
> Download.
-
Enter a File Name for the downloaded log.
-
Select or clear the log check boxes depending on the logs you want to download.
-
Click Download.