Import / research / other / WakeXBMC / Router / DGN2000_V1.1.1_src / apps / syslogd /
@John Ryland John Ryland authored on 22 Dec 2020
..
Makefile import NUC files 5 years ago
README import NUC files 5 years ago
conf.c import NUC files 5 years ago
klogd import NUC files 5 years ago
klogd.c import NUC files 5 years ago
sysklogd.h import NUC files 5 years ago
syslog.conf import NUC files 5 years ago
syslogd.c import NUC files 5 years ago
README
support email

usage:

	syslog -f /etc/syslog.conf

config file example

/* if you want enable someone ,only need set value=1 */
/* attention when mail send success all log message sill be clean */
/* now only support log auth, syslog and local0(kern) */
/* mail only support kill -HUP syslogd and mail_keyword */
/* keyword define in syslogd.h */

mail_enable=1
mail_log_full=1
mail_server=msa.hinet.net
mail_sender=ron_lian@sercomm.com
mail_receiver=ron_lian@sercomm.com
mail_subject=DG834
mail_keyword=DOS

log_syslog=1
log_auth=1
log_local0=1