From nobody  Mon Apr  6 13:04:23 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id NAA25061;
          Mon, 6 Apr 1998 13:04:23 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199804062004.NAA25061@hub.freebsd.org>
Date: Mon, 6 Apr 1998 13:04:23 -0700 (PDT)
From: forrie@tiac.net
To: freebsd-gnats-submit@freebsd.org
Subject: Syslogd not working according to manpage
X-Send-Pr-Version: www-1.0

>Number:         6228
>Category:       bin
>Synopsis:       Syslogd not working according to manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr  6 13:10:02 PDT 1998
>Closed-Date:    Tue Dec 29 17:07:41 PST 1998
>Last-Modified:  Tue Dec 29 17:08:47 PST 1998
>Originator:     Forrest Aldrich
>Release:        FreeBSD-2.2.6-current
>Organization:
Navinet
>Environment:
FreeBSD smtp.navinet.net 2.2.6-STABLE FreeBSD 2.2.6-STABLE #0: Mon Apr  6 12:46:21 EDT 1998     forrie@smtp.navinet.net:/usr/src/sys/compile/SMTP  i386
>Description:
After much toiling, it appears that syslogd is not operating according
to what it should be.

After compiling QPOPPER (beta1) and configuring it to use LOG_LOCAL2
as the facility, entering local2.* /var/log/pop.log in the syslog.conf,
and running syslogd in debug mode, it still fails.  The command to log
is being received, but initially it was going to USERS.  This is wrong,
and I've see this happen in other versions of syslog.

Presently, I can not locate any errors in compilation on my part, as
other things appear to be working well.  Just facility LOCAL* isn't
working.
>How-To-Repeat:
Pass a call to openlog (in QPOPPER's case pop_log) and use the facility
LOG_LOCAL2 (or redefine it in popper.h). Compile, run syslogd in debug
mode, walla.  No log.
>Fix:
Unknown.  But I'll continue to track it down.
>Release-Note:
>Audit-Trail:

From: skynyrd@opus.cts.cwu.edu
To: FreeBSD-gnats-submit@FreeBSD.org, forrie@tiac.net
Cc:  Subject: Re: bin/6228: Syslogd not working according to manpage
Date: Tue, 29 Dec 1998 15:58:49 -0800 (PST)

 Testing on 3.0-current with this program:
 
      #include <syslog.h>
 
      main()
 
      {
      openlog("test-local2", LOG_PID, LOG_LOCAL2);
      syslog(LOG_DEBUG, "Testing...");
      }
 
 and this /etc/syslog.conf
 
      local2.*  <tab> /var/log/local2.log
      !*
      *.*         <tab> root
 
 I cannot reproduce the problem.  I will see if I can reproduce the problem with the most
 recent qpopper port.
 
 
 

From: skynyrd@opus.cts.cwu.edu
To: FreeBSD-gnats-submit@FreeBSD.org, forrie@tiac.net
Cc:  Subject: Re: bin/6228: Syslogd not working according to manpage
Date: Tue, 29 Dec 1998 16:48:05 -0800 (PST)

 Using the syslogd.conf from my previous posting, I built the ports collection
 version of qpopper-2.53.  I manually edited the popper.h file such that:
 
     #define POP_FACILITY    LOG_LOCAL2
 
 Upon building and installing, everything still works as expected, with popper
 syslog output going into /var/log/local2.log.
 
 I'm going to close this PR because I cannot reproduce it under -current conditions.
 Please advise if you can think of additional variables needed to create the failure 
 scenario.
 
 Regards,
 -Chris
 
 
State-Changed-From-To: open->closed  
State-Changed-By: cwt 
State-Changed-When: Tue Dec 29 17:07:41 PST 1998 
State-Changed-Why:  
I cannot reproduce the problem on 3.0-current.  See the audit-trail for more 
info. 
>Unformatted:
