From owner-freebsd-questions@freebsd.org Sat Dec 31 01:43:35 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DB9FC97AA9 for ; Sat, 31 Dec 2016 01:43:35 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C2861F2C for ; Sat, 31 Dec 2016 01:43:35 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-pf0-x230.google.com with SMTP id d2so67922189pfd.0 for ; Fri, 30 Dec 2016 17:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=h+Gph3vbLFclKY1dmjaK7BDX3RoJZAXDbel5rS5aUMM=; b=IpTGQIQRlzVNXcZPjhlc8HzyArl/yuzA/ubTEYefCGCvr+ckwsIP+yI1o3SVHu3vvA l4M+lugfAIki6W+iZYFT/avjp+tALaCNYSY4DoX2TRvx0BcG8xgo8oVrbPA0fho8bLAP JIlf7WN7HbEshNbkmLiHpufFeS7/EaNI5d+Lx83lKbKHalK7ss23To5UecclC/Krfw7G PIkpU3FESRwOghMem2D8zDweNNFM3UaHdHqobPfMebL0daU9iIs38dFLzOxoEQ9lg83/ xjImRomzH/f0VW7OohWl5m6Z9kPWPC5IGa8OC40aCM5z+EaSMy/8mLbVOtfXUp/jdSMO IIWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=h+Gph3vbLFclKY1dmjaK7BDX3RoJZAXDbel5rS5aUMM=; b=OjRXeCix3EEv0hX/n0zUsB+4/oocH3FdouiWAn76rkUfCrk9p9C2N22sk4knlbJBbc 8YAgYWeWKmJybkeyj7DPKpg24G6ODOj7dE5vfNne+OidbuW8QwTNCja8+/vdjuZEJ/KT GIL+bqhhqQ5JcKx9XXwSJ/mOV0gQqECBlgkYufoiBi87S1KigRK/uaODc/gpQFm75hgm plc7i9yZWBC70q1u9DYr/Z6WbUOEl18K8Q2pMKt51Wwpz/XcXjJbVyozlVvtVjL8Jf4c lk5QK7qqIkgRun5n7h/6tS2Lz89xVj3GU6mF84jZtXKSRiXSQVbpmWvrMv/wpmF2MXyZ JanQ== X-Gm-Message-State: AIkVDXLy7lDwxvsxHxWyc5VqrND2HdaidwNW21eTVElDB9Hiisf7RK2hKqYzb8OfoQm2AA== X-Received: by 10.84.214.1 with SMTP id h1mr105413822pli.47.1483148614597; Fri, 30 Dec 2016 17:43:34 -0800 (PST) Received: from [192.168.1.206] (ppp59-167-111-196.static.internode.on.net. [59.167.111.196]) by smtp.gmail.com with ESMTPSA id t67sm115325712pfg.13.2016.12.30.17.43.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Dec 2016 17:43:32 -0800 (PST) Mime-Version: 1.0 (1.0) Subject: Re: freebsd 10 syslog server From: Ben Woods X-Mailer: iPhone Mail (14C92) In-Reply-To: <1916139826.11461.1483125073411.JavaMail.zimbra@lmtribune.com> Date: Sat, 31 Dec 2016 09:43:29 +0800 Cc: freebsd-questions@freebsd.org Message-Id: <83EB0B5B-7D94-4FC7-A578-FBA009A17332@gmail.com> References: <1916139826.11461.1483125073411.JavaMail.zimbra@lmtribune.com> To: Jim McIver Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2016 01:43:35 -0000 Sent from my iPhone > On 31 Dec 2016, at 3:11 am, Jim McIver wrote: >=20 > Syslog messages going to /var/log/messages rather than /var/log/apac.log=20= >=20 > Followed documentation from:=20 >=20 > https://www.freebsd.org/doc/handbook/configtuning-syslog.html=20 >=20 > I found where this is happening to someone else, but no answer.=20 >=20 > https://lists.freebsd.org/pipermail/freebsd-questions/2011-November/235565= .html=20 >=20 > I even did debug option and it showed message logging to /var/log/messages= .=20 >=20 > Yes the /var/log/apac.log file exists.=20 >=20 > As the message in /var/log/messages says " apac jim: test me= ssage" I wonder if the line in the top of the /etc/syslog.conf that says "*.= notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/message= s" is why they go to /var/log/messages?=20 >=20 > It mentions "notice" going to /var/log/messages and that's what shows in /= var/log/messages.=20 >=20 > thought?=20 > -jm Hi Jim, Can you please provide the contents of your /etc/syslog.conf file, and also t= he relevant lines from /etc/rc.conf? What version of FreeBSD are you running= ? Note that I believe syslog will log a message multiple times if it matches m= ultiple rules in syslog.conf, but I could be wrong here. I also recommend having a read of the syslog.conf(5) man page: https://man.freebsd.org/syslog.conf Regards, Ben=