This is the documentation for the console version of File Gateway. The old version is no longer supported.
Documentation for the new version of File Gateway is located here.

 

Configuration through the web interface

Recording logs

All actions of the File gateway are recorded in log files. To configure logging:

Page contents:

  1. go to Settings → Logging (Fig. 1.1);Figure 1 – Logging form
     
  2. specify the path to the folder for recording log files (Fig. 1.2);
  3. choose the level of logging:
    1. informational (recommended) – short logging of data, such as the type and time of operation;
    2. debug – detailed logging of service actions, for example, packet number, the way the packet was unpacked, etc;
    3. errors only – logging of only the messages about errors that occur in the system.
  4. click Save (Fig. 1.4) and restart filegatewaysvc. The information on how to work with filegatewaysvc is provided in section Start and stop through filegatewaysvc.

Database

To store service data (what and how much was downloaded sent, etc.) go to Settings → Database (Fig. 2.1), specify the path to the database (Figure 2.2) and click Save (Fig. 2.3) to apply settings.

Configuring in svc.config

To navigate to the file svc.config you need to paste %LOCALAPPDATAinto the Windows Explorer and press Enter on the keyboard,then go to the installation folder NSD.FileGateway.

To configure the, you must change the required parameters in the svc.config XML file. Valid options are presented in table 1.

Table 1 – File Gateway Setup Parameters

XPath-expression

Description

/fileGateway/database/@dbPath

Path to the database file. The service process must have access to write to the specified folder

/fileGateway/logging/@logDirectory

Path to the log folder. The service process must have access to write to this folder

  • No labels