head 1.4; access; symbols OPENPKG_E1_MP_HEAD:1.4 OPENPKG_E1_MP:1.4 OPENPKG_E1_MP_2_STABLE:1.3 OPENPKG_E1_FP:1.3 OPENPKG_2_STABLE_MP:1.3 OPENPKG_2_STABLE_20061018:1.3 OPENPKG_2_STABLE_20060622:1.3 OPENPKG_2_STABLE:1.3.0.12 OPENPKG_2_STABLE_BP:1.3 OPENPKG_2_5_RELEASE:1.3 OPENPKG_2_5_SOLID:1.3.0.10 OPENPKG_2_5_SOLID_BP:1.3 OPENPKG_2_4_RELEASE:1.3 OPENPKG_2_4_SOLID:1.3.0.8 OPENPKG_2_4_SOLID_BP:1.3 OPENPKG_CW_FP:1.3 OPENPKG_2_3_RELEASE:1.3 OPENPKG_2_3_SOLID:1.3.0.6 OPENPKG_2_3_SOLID_BP:1.3 OPENPKG_2_2_RELEASE:1.3 OPENPKG_2_2_SOLID:1.3.0.4 OPENPKG_2_2_SOLID_BP:1.3 OPENPKG_2_1_RELEASE:1.3 OPENPKG_2_1_SOLID:1.3.0.2 OPENPKG_2_1_SOLID_BP:1.3 OPENPKG_2_0_RELEASE:1.1 OPENPKG_2_0_SOLID:1.1.0.2 OPENPKG_2_0_SOLID_BP:1.1; locks; strict; comment @# @; 1.4 date 2006.11.14.13.22.55; author rse; state Exp; branches; next 1.3; commitid kKJiS9PbUHt3BDUr; 1.3 date 2004.03.11.17.55.56; author rse; state Exp; branches; next 1.2; 1.2 date 2004.03.11.17.52.37; author rse; state Exp; branches; next 1.1; 1.1 date 2003.11.02.16.48.56; author rse; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2004.04.05.14.12.14; author rse; state Exp; branches; next ; desc @@ 1.4 log @upgrade to syslog NG 2.0.0; add %post/%preun for daemon handling; fix rcService calls; fix default config for listening on 127.0.0.1 by default only @ text @## ## syslog-ng.conf - Syslog Daemon Configuration ## (See syslog-ng(8) and syslog-ng.conf(5) for more information) ## # global options options { sync(0); time_reopen(10); log_fifo_size(1000); long_hostnames(off); use_dns(no); use_fqdn(no); create_dirs(no); keep_hostname(yes); }; # message sources source s_local { internal(); unix-dgram("@@l_prefix@@/var/syslog-ng/syslog-ng.sock"); }; source s_remote { udp(ip(127.0.0.1) port(514)); tcp(ip(127.0.0.1) port(514) max-connections(20)); }; # message destinations destination d_tty_all { usertty("*"); }; destination d_tty_root { usertty("root"); }; destination d_console { file("/dev/console"); }; destination d_logfile { file("@@l_prefix@@/var/syslog-ng/syslog-ng.log" template("$ISODATE $HOUR:$MIN:$SEC $TZ $HOST [$LEVEL] $MSG\n") template_escape(no) ); }; # message filters filter f_tty_all { level(emerg); }; filter f_tty_root { level(emerg,alert) or (level(error) and facility(auth, kern)); }; filter f_console { level(emerg, alert, crit) or (level(error, warning, notice) and facility(auth, kern)); }; filter f_logfile { level(emerg); }; # message logging log { source(s_local); source(s_remote); filter(f_console); destination(d_console); }; log { source(s_local); source(s_remote); destination(d_logfile); }; log { source(s_local); source(s_remote); filter(f_tty_root); destination(d_tty_root); }; log { source(s_local); source(s_remote); filter(f_tty_all); destination(d_tty_all); }; @ 1.3 log @more fixes @ text @d24 2 a25 2 udp(ip(0.0.0.0) port(514)); tcp(ip(0.0.0.0) port(514) max-connections(20)); @ 1.2 log @Fix configuration file. Submitted by: Michael Hoereth @ text @d39 1 a39 1 file("@@l_prefix@@/var/syslogd/syslog-ng.log" @ 1.1 log @new package: syslog-ng 1.6.0rc4 (Syslog Daemon) @ text @d24 2 a25 2 udp(ip(127.0.0.1) port(514) max-connections(20)); tcp(ip(127.0.0.1) port(514) max-connections(20)); d47 1 a47 1 level(emerg) d58 1 a84 1 @ 1.1.2.1 log @MFC: various essential packaging fixes @ text @d24 2 a25 2 udp(ip(0.0.0.0) port(514)); tcp(ip(0.0.0.0) port(514) max-connections(20)); d39 1 a39 1 file("@@l_prefix@@/var/syslog-ng/syslog-ng.log" d47 1 a47 1 level(emerg); a57 1 level(emerg); d84 1 @