Re: Syslog

From: Tobias Henoeckl <hoeni(at)Space.Net>
Date: Thu, 14 Sep 2000 15:56:02 +0200

On Thu, Sep 14, 2000 at 03:27:19PM +0200, Matthias Fechner wrote:
> ich benutze ein Programm welches seine Meldungen nach syslog schreibt. Ich habe nun als facility radiator eingestellt und in die syslog.conf folgendes eingetragen:
> !radiator
> radiator.* /var/log/radiator
> aber wenn ich versuche syslog zu starten sagt er:
> cfline("radiator.* /var/log/radiator", f, "radiator")
> syslogd: unknown facility name "radiator"
> logmsg: pri 53, flags 4, from emerald, msg syslogd: unknown facility name "radiator"
>
> Hat einer einen Vorschlag ???

Es gibt nur vordefinierte Facilities, man kann keine selber definieren.

aus man 5 syslog.conf:

The facility describes the part of the system generating the message,
and is one of the following keywords: auth, authpriv, cron, daemon,
ftp, kern, lpr, mail, mark, news, ntp, syslog, user, uucp and local0
through local7. These keywords (with the exception of mark) correspond
to the similar ``LOG_'' values specified to the openlog(3) and syslog(3)
library routines.

Immer locker bleiben, Hoeni

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 14 Sep 2000 - 15:56:06 CEST

search this site