Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 2003 14:05:02 +0200
From:      Antoine Jacoutot <ajacoutot@lphp.org>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   syslogd facility
Message-ID:  <200305021405.02663.ajacoutot@lphp.org>

next in thread | raw e-mail | index | archive | help
Hi !

I am trying to log the accesses to my webmail system.
It works nice except that I get logs twice: ionce in /var/log/horde.log, wh=
ich=20
is OK and one in /var/log/messages which I don't want.

My syslog.conf contains this lines:

*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
[...]
!HORDE
*.*	/var/log/horde.log

So I though I wouls tweak the line concerning /var/log/messages, which I di=
d:
*.notice;kern.debug;lpr.info;mail.crit;news.err;HORDE.none /var/log/messages

=46rom now, it does not log to /var/log/messages anymore, but when I kill -=
HUP=20
syslogd, I get this message:
syslogd: unknown facility name "HORDE"

=2E.. well, indeed, syslogd is right.

So does anyone know how I could do what I want ?
Meaning logging accesses to my webmail --> /var/log/horde.log only

Thanks in advance?

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305021405.02663.ajacoutot>