Document toolboxDocument toolbox

Advanced configuration

Some advanced parameters can be edited manually in the /opt/devo/ng-relay/conf/relay/maduro.properties file.

# Port where the relay listens for commands from the relay CLI maduro.server.port = 12998   relay.config.file = /opt/devo/ng-relay/conf/relay/relay.properties   # Config updater frequency (check for relay config updates in Devo) updater.period.seconds = 60   # CLI test command timeout in seconds test.send.timeout = 15   # Paths for local logs and disk buffering config.buffer.path=/var/logt/buffer config.localLogs.path=/var/logt/local   # Spring cron expression to delete local logs # second, minute, hour, day of month, month, day(s) of week config.localLogs.purge.cron = 0 0 3 * * *   # Local logs retention time # Format: a positive integer followed by any of: # - d or D (days) # - w or W (weeks) # - m or M (months) # - y or Y (years) config.localLogs.retention.time = 1d

The table below lists the different parameters that you can configure in this file:

Parameter

Description

Parameter

Description

maduro.server.port

The local port where the relay listens for commands from the Devo Relay CLI.

relay.config.file

The file that stores the config of the relay done during the setup process.

updater.period.seconds

The execution interval of the updater scheduler.

test.send.timeout

CLI test command timeout in seconds. 

config.buffer.path

The path where the files of the relay disk buffer are stored.

config.localLogs.path

The path where the local relay logs are stored.

config.localLogs.purge.cron

Spring cron expression to set when the retention time is applied to the local logs.

config.localLogs.retention.time

The time when the relay local logs are stored.

A restart of the ng-relay service is required in order to apply any changes in this file. 

sudo systemctl restart devo-ng-relay