rsyslog_mtx.conf File
Specify configuration settings for the rsyslog utility in the rsyslog_mtx.conf configuration file. MATRIXX Engine uses the rsyslog utility to generate and manage log files.
The rsyslog_mtx.conf file, located in the /opt/mtx/data directory, has the following configuration settings.
local0.log_level /var/log/mtx/mtx.log
local1.* /var/log/mtx/mtx_process_ctrl.log
& stop
Where:
Local0
is the facility that MATRIXX uses to send messages to the rsyslog utility.-
.log_level
is the logging level output to the specified file. Possible values are:.*
— Consolidates messages of all levels to the specified file. This is the default..criti
— Records critical messages to the specified file..err
— Records error messages to the specified file..warn
— Records warning messages to the specified file..info
– Records info messages to the specified file..debug
— Records debug messages to the specified file.
/var/log/mtx/mtx.log
is the full path of the log file. The directory must point to the shared storage.Local1*
is the facility that routes messages from the Process Controller to the /var/log/mtx/mtx_process_ctrl.log file.-
& stop
disables logging of the message levels specified in log_level to the mtx_debug.log file. To have messages written to both files (debug and system log files), comment out this line. MATRIXX does not recommend writing messages to both log files due to the extra processing requirements.
Example Configuration
This example records messages for each different log
level to a separate file, instead of consolidating them in the
mtx.log file.
local0.criti /var/log/mtx/mtx_critical.log
local0.err /var/log/mtx/mtx_error.log
local0.warn /var/log/mtx/mtx_warning.log
local0.info /var/log/mtx/mtx_info.log
local0.debug /var/log/mtx/mtx_debug.log
local1.* /var/log/mtx/mtx_process_ctrl.log
& stop