Download Logging Collector 3.0 User Guide

Transcript
Logging Collector
Date: 10/11/2005
1
2
3
4
5
6
7
8
2 Logging Collector architecture
Logging Collector is compound by:
• an input section
• an output section
• a command interface section.
TCP
JMS Appender
Java
…
TCP
Receiver
TCP (XML)
Receiver
Logging
Collector
Command
Interface
C/C++
(others)
TCP
DB Appender
Socket Appender
…
9
10
11
Figure 2.1 Logging Collector architecture.
12
13
14
15
16
2.1 Input section
17
18
19
20
21
22
23
24
2.2 Output section
25
26
2.2.1 SocketAppender
The SocketAppender allows to send the logging information to a TCP port.
The Logging Collector provides two TCP inputs. The former receives java log4j
LoggingEvent objects (org.apache.log4j.spi.LoggingEvent) from java applications. The latter
instead more generic can receive logging information in XML format (log4j compliant) from
non-java applications such as C or C++ applications.
The outputs of the logging collector called appenders are:
• Socket Appender
• JMS Appender
• DB Appender
The collector’s outputs are used to allow the persistent storage, the display and the
distribution of the logging information.
Page 7 of 38