
CentOS 6.6 64비트의 소스 컴파일에서 ng 3.6.3을 사용하여 기본 rsyslog 파일 이름과 로깅 위치를 최대한 복제하는 포인터나 예제 syslog-ng.conf가 있는지 궁금합니다. 기본 소스 tarball /usr/local/etc/syslog-ng.conf는 /usr/local/etc/syslog-ng.conf에서만 다음을 제공합니다.
# Default syslog-ng.conf file which collects all local logs into a
# single file called /var/log/messages.
#
@version: 3.6
@include "scl.conf"
source s_local {
system();
internal();
};
source s_network {
udp();
};
destination d_local {
file("/var/log/messages");
};
log {
source(s_local);
# uncomment this line to open port 514 to receive messages
#source(s_network);
destination(d_local);
};
건배 :)
답변1
예, EPEL6을 설치한 다음 해당 저장소에서 syslog-ng 패키지를 설치하십시오.
http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/syslog-ng.html