Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer

Dec 27, 2022 2 min read 26,224 views
Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer

Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer

In the scripts folder of the product 

neapay/scripts/

script_logging.js

Below is the content of the file and instructions how to use each setting

When sending logs to neapay for support, make sure all are set to true except last. 

The last one should be used only when the product is not loading settings and configration properly.


/*
* Script variable.
* Enable or disable the display of messages in console.
* Disabling messages in console decreases memory usage and increases speed.
*/
var displayInfo = true;


DisplayInfo should generally be disabled when messages should not be displayed, like in UAT or PROD environments
Otherwise, it is advised to keep it ON


/*
* Script variable. enable logging when assigning a value to a field.
* Generates a lot of logs!
* Should be used when debugging fileds population with values
* Values are true or false
*/
var displaySetValue = false;

DisplaySetValue should generally be enabled only when message values are populated by scripts
It is very useful to ensure, track down how and which values are set for each field.
/*
* CORE variable! Enable automatic generation of Output logs to folder: logs
* Values are true or false
*/
setFileLogging(true);


The Core automatically generates the logs controlled by the other settings, and this function enables or disables writing the logs to disk
Writing log files to disk can be slow, and it will not be compliant with some regulations, like PCI DSS.

/*
* CORE variable! Enable automatic generation of Exception logs to folder: logs
* Values are true or false
*/
setFileExceptionLogging(true);

Separate logging of exceptions, without processing data
Does not impact compliance

/*
* CORE variable! Enable tracing at TCP level through the system.
* Generates a lot of logs!
* Should be used when debugging TCP traffic and message parsing
* Values are true or false
*/
setTraceTransmission(true);
 
Necessary when asking for support, it enables low-level writing of data, like TCP traffic, variables and data dump.




/*
* CORE variable Enable tracing on CSV data files and other configuration.
* Generates huge logs!
* Values are true or false
*/
setTraceConfiguration(false);

 
Necessary when the product has issues reading or writing its own configuration.
Tags:
trace debug iso8583 converter switch authorization issuer
Choose the product you need

ISO8583 Converter REST-api

Convert ISO8583 to rest-api JSON XML SQL &more

ISO8583 Interface Connector

Integrate ISO8583 card schemes and hosts

ISO20022 SWIFT MT MX Converter

Convert and integrate ISO20022 SWIFT MX with MT , ISO8583

ISO8583 Builder Parser Connector

Most simple solution to build and parse ISO8583 messages

ISO8583 Switch Router

ISO8583 or REST-api Switch Router Bin Amount

Card Payments Authorization

Pre-screen, pre-authorize and Authorize cards and ledger

POS Card Acquirer & Aggregator

Acquiring and Aggregating from POS and other devices

Cards Generator Issuing Host

Generate and export card data for cards issuing and test

ISO8583 Simulator

ISO8583 HISO98 HISO87 simulator

ISO20022 Simulator

ISO20022 & SWIFT simulator

POS Simulator

POS protocols simulator

Mobile Banking Simulator

Mobile Banking Testing Simulator

QR Payments Connector

EMV QR Payments Interface Connector

Micropayments Connector

Micropayments Acquiring Connector & Router

ISO8583 Alerts Notifications

Detect Anomalies, Alerts & Notifications

Clearing & Settlement

Generate Convert Import

Request a Quote

Get a free quote, Ask for details
Get help

Documentation

Read Documentation and Start guides

Online Tools

Online Tools Overview