Salesforce

How Do I Log the Database Activity? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Log the Database Activity? (Magic xpa 3.x)

You have the option of logging Magic xpa’s interactions with whatever DBMS you are using. To turn on logging:

  1. Go to Options->Settings->Logging.

  2. Click on the DBMS tab.

  3. Go to the DBMS you want to log.

  4. Select a Log Level that isn’t None. There are three logging levels, Customer, Support, and Developer. Customer is the lowest log level, which is the least verbose, and Developer is the highest log level.

Log Level

Log Level

What it does

None

No logging is done

Customer

Lowest log level; only SQL commands are generated

Support

Medium log level

Developer

Full log

DBMS Logging

In addition to Magic xpa’s logging, you also might it find it useful to use whatever logging facility is built into the DBMS you are using. These vary depending on the DBMS, but most tools have logging built in.

Performance issues

When using logging, do be sure it is turned off before putting the code into production. Logging significantly slows down the execution of a program.

Reference
Attachment 
Attachment