Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2000 20:26:36 -0700
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        Frank Sonnemans <frank.sonnemans@euronet.be>
Cc:        questions@FreeBSD.ORG
Subject:   Re: setting syslog priority mask
Message-ID:  <20000928202636.M81242@149.211.6.64.reflexcom.com>
In-Reply-To: <20000929000208.B1567@scuba.sbs-online.com>; from frank.sonnemans@euronet.be on Fri, Sep 29, 2000 at 12:02:08AM %2B0200
References:  <20000929000208.B1567@scuba.sbs-online.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 29, 2000 at 12:02:08AM +0200, Frank Sonnemans wrote:
> How do you set the syslog priority mask to include LOG_DEBUG messages. I tried:
> 
> openlog("Logtest", LOG_PERROR | LOG_PID, LOG_USER);
> setlogmask(LOG_UPTO(LOG_DEBUG));
> syslog(LOG_DEBUG, "Debug message");
> closelog();
> 
> but this doesn't work. All messages with priorities below LOG_WARNING (LOG_INFO, LOG_DEBUG) are not
> accepted by the syslog.

I am not sure what you mean by "not accepted" by syslog. What type of
error are you seeing? Or do you mean the messages are not being
logged? Could we see what entries you added or modified in syslog.conf
to collect these messages?
-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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