Salesforce

Activity Log View (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Activity Log View (Magic xpi 3.x)

The Activity Log view shows the different Magic xpi Server log messages.

To display the Activity Log:

  1. Go to the View menu.

  2. Select Activity Log.

In this view, the Navigation pane and the Selected Filters section are displayed on the left of the screen.

At the top right of the screen, is a pull-down list where you can filter the messages to appear. The options are: All, Errors, or Component Logging. The All option will display all of the messages based on the user Filter settings. The option selected here will override any previous settings of the user and will show errors even if the errors where not selected in the Activity Log dialog box. The default is always All.

The following information is displayed in the Activity Log Viewer:

Name

Description

Object Information

This column displays the level where the action occurred and a description of the objects that were included in the action. For example, for a step the column includes the following information:

  • IFC: This indicates that the log entry is for a step or component in the flow. IFC stands for integrated flow component.

  • The name of the component.

  • The name of the flow that the step is in (written in parentheses).

  • The name of the Magic xpi Server that executes the step.

Message Type

The message that is written to the log. The message describes the action taking place. Messages displayed include:

  • Flow started: This indicates that the flow displayed in the Object Information column has started.

  • Server started: This is usually displayed when you start the Magic xpi Server to indicate that the server started to execute the activities in the project's flows.

  • Flow component started: This indicates that the flow component in a step is executing its configured task.

  • Flow component completed: This indicates that the step is complete.

  • Component logging: This indicates the component log message. Toggle component log activation through Actions > Start | Stop Component Logging, which sets the G.sys.ComponentLogging variable. For additional information, click here.

  • Error: This indicates that the step has an error. These messages appear in red.

You can change the color of the message description in the Activity Log Properties dialog box.

FSID, FSstep

This is the flow sequence ID in the execution process. If the message is general, and not part of a flow, this number is 0.

Date & Time, Message String

This column displays the date and time the message was written to the log. The time is displayed in milliseconds. The column also displays the text attached to the log process. This text has additional information about the execution process. In some cases, the server determines the text, for example the Execution time. If the step is a messaging step, you can determine the text displayed in the step configuration.

In addition, the contents of the BLOB can be displayed. This is indicated by a "paper clip". To view the contents of the BLOB, double click the "paper clip". You can set the contents in the BAM Service, the Save Message Service or in the Logging Mechanism of a Step.

Activity Logging Display Control

Since version: V3 SP1

If you have a large number of messages in your Activity Log, you can switch the activity logging off during runtime by selecting Stop from the Actions menu. You can continue to retrieve messages from the Activity Log by selecting Run from the Actions menu. Click Refresh to refresh the information retrieved from the Activity Log.

Switching the activity logging on and off increases the Monitor performance and provides runtime troubleshooting capabilities. For example, when an error occurs, you can switch on the Activity Log to see what is happening without having to restart the server.

Another recommendation to improve efficiency is to increase the Refresh rate interval in the Advanced Properties dialog box. To set the Advanced Properties, go to the Settings menu, select the Activity Log dialog box and click Advanced.

When you park on the Activity Log or BAM message view lines and the total number of records has not changed from previous refresh operation, then there will be no re-fetching of records from the database.

Note:

For more information about the Logging mechanism, click here.

Server Logging Control

Since version: V3 SP1

To enable efficient operation of the Magic xpi Server, you can stop the Magic xpi Server from sending messages to the Activity Log. You can switch on the Activity Log on demand, without having to restart the server. This provides runtime troubleshooting capabilities.

You can access the logging option from the Actions menu. The logging option is available if there is a connection to a running server. When you select Stop Logging, the Server will stop sending messages to the Activity Log and the menu entry will change to Start Logging. The Magic xpi Monitor will indicate in the header whether the server logging is switched on or off.

When opening the project, the last setting information will be retrieved from the internal database.

Component Logging Control

You can enable or disable component logging from the Actions menu. This is a toggle type menu meaning that if component logging is enabled, it will be called Stop Component Logging and if it is disabled, it will be called Start Component Logging.

Selecting this menu entry will update the G.sys.ComponentLogging variable accordingly. See also Logging – Component Properties.

Displaying the Information Dialog Box

You can see the information that is entered in the log for an entry in the Information dialog box. The information in this dialog box is the same as the information displayed in the Log Viewer and in the log. The dialog box will be different depending on what type of activity or step is selected (for example, the dialog box is different for a server or a flow component). To display the Information dialog box, double-click either the row itself, or the arrow in the selected row. The dialog box will display the information for the activity in that row.

Saving Activity Log Information

The Monitor lets you save Activity Log information. This enables you to increase performance by saving previous Activity Log information and clearing the Activity Log database before restarting the Server.

To do this, select the File menu, and click Save. The Save Log dialog box opens. This dialog box is divided into two sections, as described below:

Name

Description

Save Level

Select one of the following from the drop-down list:

  • Filtered View: This saves only the Activity Log records that you previously filtered using the Selected Filters pane.

  • Fill Activity Log: This saves the whole Activity Log.

Save Statistics

Select this check box to add the runtime statistics to the saved Activity Log file.

Save Destination

File Name

Click to select the full file path for where you want to save the Activity Log information.

When you have entered the required information, click OK to save the Activity Log information. You can exit the Save Log dialog box without saving the Activity Log information by clicking Cancel.

You can load previously saved Activity Log information by selecting the File menu, and clicking Load.

Related Topics

Reference
Attachment 
Attachment