log4j 中的当前 SyslogAppender 使用 UDP 将日志传输到 syslog 服务器。 它有丢失数据的风险 。
是否已经存在任何定制的 TCPsyslogapper? 或者这个问题可以用另一种方式问: 我们如何让 SyslogAppere 百分之百地免受数据丢失的影响 。
log4j 中的当前 SyslogAppender 使用 UDP 将日志传输到 syslog 服务器。 它有丢失数据的风险 。
是否已经存在任何定制的 TCPsyslogapper? 或者这个问题可以用另一种方式问: 我们如何让 SyslogAppere 百分之百地免受数据丢失的影响 。
"http://www.rsyslog.com/tcp-syslog-rfc5424-log4j-appender/" rel="no follow">are 各种 解决方案。
请注意,纯 TCP 不能百分之百地避免数据丢失, 因为它可能丢失在套接字缓冲中。 您需要使用专门为此设计的协议 : RELP、 HTTP 或一些对发件人回信的回复 。
how do you configure rotation of syslog log files on ubuntu? in my /etc/syslog.conf, i have this line: local1.* /var/log/log.txt over time, the following backup files have appeared: /var/log/log....
I work on Unix on a C++ program that send messages to syslog. The current code uses the syslog system call that works like printf. Now I would prefer to use a stream for that purpose instead, ...
I have been asked to write a program using python for an assignment. I have been given a syslog file and I have to find things out about it How do I find out how many attempts were made to login to ...
Is it possible to have one application simultaneously write to multiple syslog facilities? I have an application, written in C/C++, that I would like to write some messages to local0 and other ...
It seems Syslog has a 1KB message limit. Is this hardcoded into the Syslog protocol, or is this a parameter that can be set for each server? I am hoping the article I read was out of date, so if you ...
I am using the syslog-logger gem in ruby on rails. This, by default, uses a facility called user, and a program called rails. How can I set the facility to be something like local0 or local1 or ...
At work, we re building a distributed application (possibly across several machines on a LAN, possibly later across several continents on a WAN+VPN). We don t want log files local to each machine (...
I am trying to read a log file with the content look like this: 127.0.0.1 - - [17/OCT/2009:00:02:14 0000] GET xxxxxx xxxx xxx I tried the following reg exp and I am getting ERROR: Unclosed group ...