Linux utilities are not able to extract the log file name from the configuration file

Problem

When setting up the log monitoring tool, the log file extracted from the configuration file contains the whole line, truncated.

(info) Note: double quotes ( " ) are accepted in the log name definition, single quotes ( ' ) are not

Example:

setsessionlog=/opt/charon/cfg/AlphaServer_800.log

This affects log monitoring, guest stop script and the following menu options:

  • Send configuration and log files via mail
  • Manage monitored guests logs
  • Service management (Start, Stop, Manage automatic boot & shutdown)

Affected versions:

(error) All kits up to version 36 (included)

(tick) Solved starting with kit version 37, dated August 27th 2014

Solution

Change the configuration file and place the 'log_method' parameter at the end of the 'log' name definition ('set session' settings)

(error) Configuration file example producing the failure:

set session log_method = append
set session log = /opt/charon/cfg/AlphaServer_800.log

 

(plus) To solve this, concatenate the 2 lines like this:

set session log = /opt/charon/cfg/AlphaServer_800.log log_method = append

or

set session log="/opt/charon/cfg/AlphaServer_800.log" log_method="append"



© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.