Configuration

The Megaladata Server stores configuration files in the working directory. The default location for the working directory is %AllUsersProfile%\Megaladata\Server.

General server settings

The Settings.cfg XML file contains general server settings. The Settings/Directories element specifies directory parameters in its attributes:

  • UserStorage: the location of user directories. The value can be an absolute path or a relative path from the working directory.
  • SessionBackup: the location of the session backup directory. The value can be an absolute path or a relative path from the working directory.

TheSettings/Bindings element specifies binding parameters in its attributes:

  • Bind: the IP address of the network interface used by the Megaladata server. Default value: 0.0.0.0.
  • Port: the port number for connecting Megaladata Integrator and BatchLauncher. Default value: 4580.
  • WSPort: the port number for connecting Megaladata Studio via the WebSocket (WS) protocol. Default value: 8080.
  • WSSPort: the port number for connecting Megaladata Studio via the WebSocket Secure (WSS) protocol.
  • SSLCertificateFile: the absolute or relative path (from the working directory) to the SSL certificate file in .pem format.
  • SSLPrivateKeyFile: the absolute or relative path (from the working directory) to the SSL private key file in .pem format.

Logging

The server stores logging parameters in the Logs.cfg XML file. It saves log files in the Logs subdirectory of the working directory.

The Logging/Common element specifies general settings in its attributes:

  • MinLogLevel: the minimum logging level. Possible values include:
    • llTrace: trace
    • llDebug: debug
    • llInfo: information (default value)
    • llHint: event
    • llWarn: warning
    • llError: error
    • llFatal: fatal error

The Logging/File element specifies log file parameters in its attributes:

  • LogFileName: the name of the log file (default is app.log).
  • LogFileRewrite: if this attribute is set, the server overwrites the log file upon launch. (Disabled by default.)
  • LogFileMaxSize: the maximum size of the log file in bytes (default is 10485760 or 10 MB).
  • LogFileMaxIndex: the maximum number of log files retained (default is 10).

Read on: Updating Megaladata Server (Windows)

results matching ""

    No results matching ""