From owner-freebsd-ports Wed Jun 20 15:21:29 2001 Delivered-To: freebsd-ports@freebsd.org Received: from dell.dannyland.org (dell.dannyland.org [64.81.36.13]) by hub.freebsd.org (Postfix) with ESMTP id 3C72637B407 for ; Wed, 20 Jun 2001 15:21:27 -0700 (PDT) (envelope-from dannyman@toldme.com) Received: by dell.dannyland.org (Postfix, from userid 1001) id 676805BF8; Wed, 20 Jun 2001 15:19:31 -0700 (PDT) Date: Wed, 20 Jun 2001 15:19:31 -0700 From: dannyman To: Chris Dillon Cc: openldap-software@OpenLDAP.org, ports@FreeBSD.ORG Subject: Re: FreeBSD port net/openldap2 syslog bug? Message-ID: <20010620151931.F20736@toldme.com> References: <20010620143507.B20736@toldme.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cdillon@wolves.k12.mo.us on Wed, Jun 20, 2001 at 05:07:49PM -0500 X-Loop: djhoward@uiuc.edu Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Jun 20, 2001 at 05:07:49PM -0500, Chris Dillon wrote: > On Wed, 20 Jun 2001, dannyman wrote: > > > syslog.conf: > > slapd.* /var/log/slapd > ^^^^^ That's not a valid facility. [...] > !slapd > *.* /var/log/slapd.log > > And/or: > > local4.* /var/log/slapd.log local4.* is what I settled on, though thanks for the !slapd suggestion. My concern though is with slapd's described functionality: -n service-name Specifies the service name for logging and other purposes. Defaults to basename of argv[0], i.e.: "slapd". -l syslog-local-user Selects the local user of the syslog(8) facility. Values can be LOCAL0, LOCAL1, and so on, up to LOCAL7. The default is LOCAL4. However, this option is only permitted on systems that support local users with the syslog(8) facility. So, I've got "facility", "service-name", and "syslog-local-user" to deal with. It seems to me that "service-name" ought to imply "facility" but in fact "syslog-local-user" is implying "facility." Is this as it should be and I'm just making naive assumptions, or may there be some confusion between OpenLDAP 2 and FreeBSD syslog facility? -danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message