Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

By default, events Events and errors encountered in the system are saved in the System Log. The System Log handles duplicate events within a time frame. Therefore , and therefore every event and error has a first and last occurred date, as well as information of on how many times it was repeated. The System Log allows the user to browse and purge this log.

There are three types of categories:

  • System-related log entries

  • Workflow related log

  • User-related log entries

For instance, if a workflow aborts, the reason may be tracked through the System LogYou can select to filter out which events you want to see as well as delete selected events from the log.

Info

The System Log table will display a maximum of 500 000 entries. If you want to modify the maximum number of entries, add the Platform property mz.systemlog.maxresults to the platform.conf and modify the value, see Platform.

To open the System Log, click the Tools button in the upper left part of the Desktop window, and go to Manage → Tools & Monitoring and then select System Log from the menu.

Image Removed

The System Log

Initially, the dialog is empty and must be populated with data using the Search System Log dialog. For further information, see the section below, Searching the System Log.

...

Show Entries

...

Entries matching the search criteria are displayed in groups of 500. Show Entries contains a list of all groups of 500, from which one is selected. Note that the full content of the log messages for a group is fetched from the database once the group is selected. This is to have as little impact as possible on the overall performance of the system.

...

The severity of the message can be any of the following:

...

If you have had the System Log open for a while, you can refresh the view by clicking on the Refresh button in the table action bar.

System Log Table

The System Log table displays the following options and values

Column

Description

Image Added

Selection Checkbox

The selection check boxes can be used for selecting specific entries that you want to delete. If you select one or several check boxes, the table action bar will change to display a Clear and a Delete button.

Last Occurred

This column shows the date and time when the event last occurred.

Severity

This column shows the severity of the event:

  • Info - An event with severity Info is an informative message, for example when a user logs in or a workflow is activated.

W (warning) - A warning message
  • Warning - An event with severity Warning is also an informative message but is considered to be slightly more serious than

an information message. A warning message is logged, for instance,
  • a regular information message, for example when a workflow sends data to ECS.

E (
  • Error

)
  • - An error is logged when any part of the system fails, for

instance,
  • example when a workflow aborts.

Double-clicking an error message will display the Stack Trace Viewer. This information
  • If you display Event Details for an event with severity Error, you will see a stack trace that must always be included when contacting support

, in cases involving error messages D (Disaster) - Usually never used, other than possibly
  • .

  • Image Removed
    • Fatal - Fatal is a severity that is never used by default, but may be used for user-defined agents

    Last Occurred

    The date when this message last
    • .

    Type

    This column shows the event type:

    • System

    • Workflow

    • User

    Message

    This column shows the message heading. If you display Event Details you will see the full message.

    First Occurred

    This column shows the date and time when the event first occurred.

    Repeated

    Shows

    This column shows how many times this

    message

    event has occurred.

    Area

    Indicates which part of the system the message originates from; user, system or workflow.

    Workflow/Agent

    The name of the workflow/agent from which the message originates.

    Message

    The message. Note that selecting an entry from the list will display its full contents.

    First Occurred

    The date when this message first occurred.

    Message

    Area

    If an entry is selected from the list, further details about it is displayed in this area.

    Filter

    Use the Filter button to set filters for a more curated list of entries in the System Log.

    Note
    titleNote!
    The search result is restricted to a maximum of 500 000 entries. If you want to modify the maximum  number of entries, add the Platform property mz.systemlog.maxresults to the platform.conf and  modify the value. For further information, see Platform Properties the in the System Administrator's Guide.

    Image Removed

    System Log Filter

    ...

    Anchor
    details
    details
    Event Details

    If you click on the entry in the System Log table, you will see additional details about the event:

    ...

    Apart from the Last occurred, Message heading you will also see the following information:

    Information

    Description

    Creation date

    The date and time when the entry was registered.

    Origin

    The origin of the event, for example an IP address and port for a user event, or the host and port for a workflow event.

    Agent name

    Name of any agent involved.

    User name

    The user name of the user being the origin of the event. This information is only displayed for user events.

    Stack trace

    The full stack trace for errors. This information is only displayed for workflow events.

    Filter

    ...

    You can click on the Filter button to set filters for a more curated list of entries in the System Log. The Filter dialog will then open where you can configure your filter.

    ...

    An entry has to match all configured filter settings to be displayed in the System Log table.

    Item

    Description

    Severity

    The severity of the log entry

    . At least one type must be enabled.

    ; Info, Warning, Error, Fatal

    Type

    The affected entity.

    Date Range

    Within which period entries will be viewed. A few predefined options are available. If none are selected, all are considered. The default period is Today. The available options are:

    • User-defined

    • All

    • Last hour

    • Today

    • Yesterday

    • This week

    • This month

    When

    If you select User-defined

    is selected

    ,

    the following applies:PeriodDescription

    enter the Start date and time

    All entries reported after the selected date will match. If not, all entries before the End date will match.

    and

    time

    End date and time

    All entries reported before the selected date will match

    . If

    not, all entries after the Start date and time will match.If neither Start date and time nor End date and time is

    neither are specified, all entries will match.

    Workflow

    Contains options to filter out specific workflows and/or agent names. If disabled, all workflows/agents will match

    Select to only view events relating to a selected workflow. All workflows for which entries have been registered are selectable in this drop-down-list. Only one workflow can be selected.

    Workflow Group

    Check to include log messages of the workflow group that you select from the

    Select to only view events relating to a selected workflow group. All workflow groups for which entries have been registered are selectable in this drop-down-list. Only one workflow group can be selected.

    Agent

    Check to include log messages of the agent that you select from the

    Select to only view events relating to a selected agent. All agents for which entries have been registered are selectable in this drop-down-list. Only one agent can be selected.

    Note
    title

    Note!

    The System Log

    displays log messages according to your Log Area selection: User, System, and/or workflow. To have System Log present agent-related messages you need to configure an agent event from the Event Notification Configuration. For further information, see Add Event in Event Notifications Configuration.

    Username

    If enabled, all activities performed by the selected user will match. If disabled, all user activities will match.

    Note
    titleNote!

    This only applies to events invoked by users, such as inserting, updating and deleting data in the system. Thus, it does not apply to workflow ownership and can therefore not be utilized to filter out a specific user's workflows.

    Message

    Log entries may be scanned for occurrences of specific messages. Using all lowercase letters in the text field will result in case insensitive search. If upper-case letters are used anywhere in the text field the search will be case sensitive

    does not display agent events by default, in order for agent events to be presented in the System Log you have to configure agent events in an Event Notifications.

    Username

    Select to only view events relating to a selected user. All users for which entries have been registered are selectable in this drop-down-list. Only one user can be selected.

    Note

    Note!

    This filter will only apply to user events and not any other events with user name stated, and can therefore not be used for filtering out workflows created by specific users.

    Message

    Enter a free text search string to be matched by the messages in the entries you want to display.

    When you are finished, click OK to apply your filter settings. If you want to clear all filters, you can open the Filter dialog again and click on the Reset button.

    Deleting Entries

    You can delete either all entries in the System Log, or specific entries.

    To delete all entries, click on the Delete button in the table action bar. You will be prompted to confirm that you want to delete all entries. Click on the Delete button to confirm.

    If you want to only delete specific entries, select the check boxes for the entries you want to delete. The table action bar will change and display a Clear button and a Delete button. Click on the Clear button to clear all your selections, or on the Delete button if you want to delete selected entries. You will be prompted to confirm that you want to delete all entries. Click on the Delete button to confirm.