User Guide Part 2

22 7signal solution 127
7signal Solutions, Inc., 526 S. Main Street, Akron, Ohio 44311, USA, 855-763-9526, info@7signal.com, www.7signal.com
7signal Sapphire Carat User Guide Release 5.0
22 EXPORTS
7signal Sapphire is capable for exporting test results and alarms to system log of the host
running the Carat server. XML schemas applied can be found in Utilities directory of Carat
distribution media.
The Utilities directory contains three XML schema files:
testresult.xsd: Test result XML schema
alarm.xsd: Alarm XML schema
common.xsd: Common schema used by two former schemas
22.1 Configuring Carat system logging properties
carat-syslog.properties in conf directory of Carat installation contains Carat system
logger client configuration parameters:
.level= INFO
# Console handler configuration
java.util.logging.ConsoleHandler.level = INFO
java.util.logging.ConsoleHandler.formatter =
java.util.logging.SimpleFormatter
# Syslog logger
com.agafua.syslog.SyslogHandler.transport = tcp
com.agafua.syslog.SyslogHandler.facility = local1
com.agafua.syslog.SyslogHandler.port = 514
com.agafua.syslog.SyslogHandler.hostname = localhost
Configure desired log level (default: INFO), facility (default: local1) and hostname (default:
localhost).
22.2 Configuring system logger daemon
rsyslog is the default system logger daemon in RHEL/CentOS operating systems. Open
/etc/rsyslog.conf file in an editor and do the following changes:
1. Uncomment following lines:
# Provides TCP syslog reception
#$ModLoad imtcp
#$InputTCPServerRun 514
2. Add $MaxMessageSize configuration parameter:
$MaxMessageSize 32768
Notice that "$MaxMessageSize" definition MUST be before "$ModLoad imtcp" line.
3. Add rule for Carat syslog level and facility.
If the defaults are used, add the following line to rules section:
local1.info /var/log/carat-xml-output.log