Skip to content

Parameter reference

File: /usr/local/stcpren/configs/config.json. Another file can be given with -config. See Configuration.

General

ParameterTypeDescription
applDirtextInstallation directory. Package default: /usr/local/stcpren.
applLockDirtextDirectory of the lock control files, when lockType = filesystem.
applLogDirtextText log directory. Used only in the local file mode (stcpgeminifile).
applPidFiletextPID file (optional). The -pid option takes precedence.
applConfigPassPhrasetextKey used to encrypt passwords. Sensitive data. Must be the same in the other products of the environment. See Password encryption key.
applUsertextOperating system user for the run. Package default: stcp.
applGrouptextOperating system group for the run. Package default: stcp.
applUmasktextUmask of the created files. Default: 0022.
applDebugintegerHighest level of the messages shown on standard error (stderr). 0 shows errors only; higher values show more detail.
LicensetextPath to the Riversoft STCP Gemini Rename license file. Sensitive data.

cfgProvider

ParameterTypeDescription
cfgProviderTypetextConfiguration mode: stcpgeminidb (database) or stcpgeminifile (local file). See Configuration modes.
cfgInstanceNametextName of the associated instance. It is the same name used by Riversoft STCP Gemini Server (ApplName) or by Riversoft STCP DirectLink.
cfgDbNametextConfiguration database name. Database mode only.
cfgDbHosttextDatabase server address.
cfgDbPortintegerDatabase port.
cfgDbUsertextDatabase user.
cfgDbPswdtextDatabase password. Sensitive data.
cfgDbTypetextDatabase type, for example mysql or mssql.
cfgDbOptionstextAdditional connection options, appended to the database name.

In the database mode, messages are written to the log database configured in the instance.

lockProvider

ParameterTypeDescription
lockEnablebooleanEnables lock control, which prevents concurrent runs on the same resources.
lockTypetextin-memory keeps the lock in memory during the run; filesystem records the lock in a file in the applLockDir directory.

cfgInstance

Local file mode (stcpgeminifile) only. Holds the instance parameters that, in the database mode, are read from the configuration database.

ParameterTypeDescription
Entity.VersionintegerStructure version. Use 2.
Entity.NametextInstance name.
Log.VerboseintegerHighest level of the messages written to the log.
Log.ConsoleintegerHighest level of the messages shown on the console.
Log.ExternalintegerHighest level of the messages sent to the external log command (Log.ExecProg). 0 disables it.
Log.ExecProgtextExternal command that receives the log messages.
Log.FilterRegEx, Log.FilterRegExNegtextRegular expressions that include or exclude messages from the external log command.
Startup.SerialNumbertextInstance serial number.
Startup.ExternalLockEnableinteger1 enables lock control between processes.
Startup.ExternalLockTimeoutintegerMaximum wait for the lock, in milliseconds.
Startup.ExternalLockWaitintegerInterval between attempts to obtain the lock, in milliseconds.
Startup.ExternalLockRetriesintegerNumber of attempts to obtain the lock.

Message levels

Each message has a numeric level; the lower the number, the more important the message. A message is recorded when its level is lower than or equal to the configured limit (Log.Verbose, Log.Console or applDebug).

LevelMessages
0Startup errors and conversion and export results.
1Rule errors (LogLevelOnError default).
6Rule successes (LogLevelOnSuccess default).
7Rule warnings and information (LogLevelOnWarning and LogLevelOnInfo defaults).
8Start and end of the run.
128Tracing for diagnosis.

The levels of the rule messages are set in the routing. See Rule reference.

kmsProvider

The kmsProvider section appears in the configuration templates, but it is not read in this version. Enter the values directly in config.json and protect the file. See Security.