Salesforce

Activity Log - Configuration File Flags (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Activity Log – Configuration File Flags (Magic xpi 3.x)

The Activity Log records activities that take place during a project's deployment. You can disable logging or limit the amount or types of records logged. You can also determine in which thread the logging will take place. Changing these settings affects the server's performance. If you have a large project with many activities, changing how the activities are logged can modify the server speed and performance. These flags are in the [MAGIC_IBOLT] section.

Flag

Definition

DisableActivityLog=

Type Y after the equal sign (=) to turn off all logging activity. If this flag is Y, no entries are entered in the log file and no messages are displayed in the Monitor. By default, the flag is set to N, which indicates that entries are added to the activity log.

Disabling logging will increase the server's speed.

MonitorMode=

This flag determines what type of activities are logged. The options are:

  • Statistic: The Monitor will show statistics but no activity log. Note that this option consumes significant amounts of CPU.

  • Activity (default): The Monitor will show an activity log but no statistics.

  • Both: The Monitor will show both statistics and an activity log.

Note:

  • You should make sure that you enter the whole word, and you should also be aware that it is case sensitive. If you misspell the name of the option, or do not capitalize it, the default is Both.

  • Limiting the types of activities logged will increase the server's speed.

MonitorLogLevel=

Determines the activities to be logged based on how they are initiated (the level of activities):

  • User: Logs user-defined messages.

  • Error: Logs errors and calls to error components.

  • Exec: Logs execution activity, such as servers and flow start ups. This also includes error and user messages.

  • Service: Logs ODS, locking, and Publish and Subscribe activities

  • All (default): Logs all activities.

  • None: Shows no messages.

Limiting the activity levels logged will increase the server's speed.

When this entry is populated with more than a single value, make sure to enter an asterisk (*) sign after the equal sign.

ActivityLogSynchronizationMode=

Determines how the activity log is handled:

  • Async (default): Indicates that one thread will log all activities. If you selected this option, the Magic xpi Server waits and enters a batch of activities in a single thread. This increases the speed of the system.

  • Sync: Indicates that each thread logs its own activities. If you choose this option, the Magic xpi Server can log the activities in real time on the same thread that the activity is executed or you can balance the load for projects with many activities.

Additionally, a database table called ifs_mytp stores all Activity Log messages. This table has a column called Suspend. If the value of this column for a certain message type is 1, messages of this type will not be saved in the Activity Log.

Reference
Attachment 
Attachment