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.
Note: double quotes ( " ) are accepted in the log name definition, single quotes ( ' ) are not
Example:
|
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:
All kits up to version 36 (included)
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)
Configuration file example producing the failure:
|
To solve this, concatenate the 2 lines like this:
|
or
set session log="/opt/charon/cfg/AlphaServer_800.log" log_method="append" |
Related articles
© 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.