From nobody Thu Apr 06 03:12:26 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PsRPy5vWwz43LgB for ; Thu, 6 Apr 2023 03:12:38 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4PsRPy2JM9z3y4r for ; Thu, 6 Apr 2023 03:12:38 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4PsRPw5DKpz2gGMM; Wed, 5 Apr 2023 20:12:36 -0700 (PDT) Content-Type: text/plain; charset=us-ascii List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: syslog From: Doug Hardie In-Reply-To: <20230405204457.doj7nz4ulu6aii6f@beesty.loosely.org> Date: Wed, 5 Apr 2023 20:12:26 -0700 Cc: possessor.assizer305@aceecat.org Content-Transfer-Encoding: quoted-printable Message-Id: <27852D8E-B83C-47FB-8339-0DF158D28954@sermon-archive.info> References: <5748DDF6-66A6-4BF5-83BA-51B08D025F46@sermon-archive.info> <20230405204457.doj7nz4ulu6aii6f@beesty.loosely.org> To: questions@freebsd.org X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Virus-Scanned: clamav-milter 1.0.1 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4PsRPy2JM9z3y4r X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:5650, ipnet:47.181.128.0/18, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > On Apr 5, 2023, at 13:44, possessor.assizer305@aceecat.org wrote: >=20 > On Wed, Apr 05, 2023 at 03:39:33AM -0700, Doug Hardie wrote: >=20 >> I am writing a program that I would like to log some messages with >> LOG_DEBUG, and others with LOG_INFO and LOG_MAIL. >=20 > May be relevant or not, but notice that LOG_DEBUG and LOG_INFO are > priorities but LOG_MAIL is a facility. Right. I knew that, but thought it might be the best way to describe = the situation. i have tried a few more combinations, but none of them = seem to work, but to have only one or the other per invocation. It's = not a great solution, but workable. -- Doug