
XG1200 User's Guide
243/258
All Rights Reserved, Copyright (C) PFU LIMITED 2005
A.3
Message Format for Forwarding syslog
The logs output from the XG1200 can be forwarded to your syslog server. The XG1200 forwards logs in a message format that
conforms to the RFC3164 The BSD Syslog Protocol.
The format the XG1200 uses to forward a syslog message to the syslog server is shown below.
Format of syslog
message in
XG1200
Description
Format of syslog message in
RFC3164
Priority
Priority string
PRI part
Priority
Time
Time at which the message is generated
(MM:DD:HH:MM:SS)
TimeStamp
Host name
Host name of XG1200
HEADER
part
HostName
Device type
XG
Tag
Function type
Abbreviated name for the control that outputs the
message.
Severity
Severity of message
Message ID
The code which uniquely identifies the message
Message Message
text
MSG part
Content
The XG1200 appends Priority value at the beginning of the log message stored inside it and inserts Device type value between
Host name and Function type before forwading the message to the specified syslog server.
The Priority value is used to identify the severity and facility of a log message.
It is added according to the following rules.
Priority must have three, four, or five characters. It starts with an angle bracket "<", followed by a number, which is
followed by an angle bracket ">". Example: <14>
The number included in the Priority represents the Priority value which is calculated from the Facility code (Facility)
and the Severity code (Severity). The Priority value consists of one, two, or three decimal integers.
The Priority value is calculated by first multiplying the Facility code by 8 and then adding the numerical value of the
Severity code.
The Facility code defined in the XG1200 is:
Facility code
Type of Facility
1
random user-level messages
The Severity codes defined in the XG1200 are:
Severity code
Description of Severity
2
Critical :critical conditions
3
Error :error conditions
4
Warning :warning conditions
6
Informational :informational messages