From owner-freebsd-ports Wed Jun 20 15:41:16 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 5964A37B401 for ; Wed, 20 Jun 2001 15:41:13 -0700 (PDT) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id RAA82260; Wed, 20 Jun 2001 17:41:09 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Wed, 20 Jun 2001 17:41:08 -0500 (CDT) From: Chris Dillon To: dannyman Cc: , Subject: Re: FreeBSD port net/openldap2 syslog bug? In-Reply-To: <20010620151931.F20736@toldme.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 20 Jun 2001, dannyman wrote: > 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? The "service-name" is a synonym for the program (executable) name logged by syslog, not the logging facility. Using "-n myslapd2" would be the same as copying or linking the slapd executable to 'myslapd2' and executing it via that name. "syslog-local-user" does define a facility to use, but of course you can only define the local facilities. All of the facilities are pre-defined and you can't just make one up, thus the purpose of the "local" facilites. -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For IA32 and Alpha architectures. IA64, PPC, and ARM under development. http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message