From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 09:00:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE6C3106566B for ; Wed, 2 Mar 2011 09:00:49 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7A93E8FC0C for ; Wed, 2 Mar 2011 09:00:49 +0000 (UTC) Received: by yie12 with SMTP id 12so1636718yie.13 for ; Wed, 02 Mar 2011 01:00:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=vuaAvwbjrF5ndgeodChayze+/z/Cs+0GGquE7Ft2TVI=; b=aY3SeybZW96JllfKchl0Z4TVtC2ctvuR/nHDcoR1xJlklOG8mIBdP6Q4lN4tLjW9Kg UOLuh1hVz6sY9+pnPZ+mgsWVFdwRA7Z+G8aerZrh2xHiwUWEDNobBWhGc6XvGnkyAzgE 7YlvdAnI3W+dRtIhySrO/fSMbdKX8EdLO3u3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=kP9+k7XgR6WljXm25HLd/poYeBRRcNVJ4+8LIb8NncaCDSYwG89yPg40a3WgeurpyP 2NKvLjWNVsBRrcXUsFyQXOY5ctNBROYm9v5wJYvMtoz6jPwFFnoHAWIrnPo5yxUQoAiU ydVWSPlKgqxPPsLKZ2e3u+1+nlpvmHCm9WeTA= Received: by 10.100.197.2 with SMTP id u2mr3414063anf.98.1299054899108; Wed, 02 Mar 2011 00:34:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.101.41.17 with HTTP; Wed, 2 Mar 2011 00:34:39 -0800 (PST) In-Reply-To: <3787f7ba69db4e2b72443f513f3f148e@www.dweimer.net> References: <3787f7ba69db4e2b72443f513f3f148e@www.dweimer.net> From: n j Date: Wed, 2 Mar 2011 09:34:39 +0100 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: IPFilter and IPMon logging to syslog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 09:00:49 -0000 On Tue, Mar 1, 2011 at 8:38 PM, Dean E. Weimer wrote: > I have been doing some work with cleaning up my log files to make them > easier to read, and for the life of me can't figure out how to get my > IPFilter logs to stop going into the /var/log/messages log. =A0I have a s= yslog > entry for local0.* /var/log/ipfilter.log which works great, and captures = all > the logs I want. =A0I have tried adding local0.none on the /var/log/messa= ges > line, but it seems to have no effect. =A0Can anyone tell me what I am doi= ng > wrong here, the below lines are from my syslog.conf configuration file. > > *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err;local0.none > =A0 =A0 /var/log/messages > local0.* =A0 =A0 =A0 /var/log/ipfilter.log I usually do it this way: !-local0 # disable logging of local0 [log whatever] /var/log/messages !local0 # enable logging of local0 local0.* /var/log/ipfilter.log Regards, --=20 Nino