From: Hans Westerback <edthwes@unixcenter.ericsson.se>
Subject: Logger writing into kern.log
Date: 1999/04/29 [thread overview]
Message-ID: <37289866.1F4146E7@unixcenter.ericsson.se> (raw)
Hi,
we're running Dunix 4.0D. I have a question re syslog, we have setup
syslog.conf to log the normal way:
kern.debug /var/adm/syslog.dated/kern.log
user.debug /var/adm/syslog.dated/user.log
mail.debug /var/adm/syslog.dated/mail.log
daemon.debug /var/adm/syslog.dated/daemon.log
auth.debug /var/adm/syslog.dated/auth.log
syslog.debug /var/adm/syslog.dated/syslog.log
lpr.debug /var/adm/syslog.dated/lpr.log
msgbuf.err /var/adm/crash/msgbuf.savecore
kern.debug /var/adm/messages
kern.debug /dev/console
*.emerg *
Then this is sent to a central node:
*.emerg;*.alert;*.crit;*.err;*.warning;*.notice;*.info;mail.none
@1xx.xx.xxx.34
kern.debug;mail.crit;mail.err @1xx.xx.xxx.34
When we want to test this, is it possible to use logger to write to
kern.log?
For example this writes to daemon.log, and to the remote node
logger -p daemon.crit "testing"
But this writes to user.log, and not to the remote node
logger -p kern.crit "testing again"
Thanks,
--
Hans Westerback * E-Mail : hans.westerback@edt.ericsson.se
LM Ericsson Data AB * Memo : edt.edthwes
G�talandsv�gen 230 * Phone : +46-8-7262652
S-125 82 Stockholm * Fax : +46-8-7217131
reply other threads:[~1999-04-29 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox