From owner-freebsd-hackers@freebsd.org Thu Jan 3 21:26:47 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BC191437ED7 for ; Thu, 3 Jan 2019 21:26:47 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C0976A05C; Thu, 3 Jan 2019 21:26:46 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-vs1-xe36.google.com with SMTP id e7so21576174vsc.2; Thu, 03 Jan 2019 13:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Imkvo1RGKx2li+huiUsYHjHfiPIvxyV1uczkGmUKkxY=; b=Dmzz/w1lDKAaV2gAdy1z2FXnb3ac4IB5ErpS/CMpilh1rpN7wtnwjFUKB2fA6K7MCz OfOU8q0B43sND8oEQ1qJbsDfCDfdx46kYqn32S3iu01QCCH7LfIW1nIEKFPtWd47UKG5 ECEIRyvvTQs/kYE1BbOZRQg0JoMKBwY/qLfqdT93KBDAbgAy1nz3D7BJQRaDOprqX8Qq 86Bqc8zLxsnY3K3oyXgV9lhmZ3yVnfSWTXRw014G2bakcfoiAM7kle2Lz6DhMbYHCSb8 vOgv2/V1r+uLl1We30eWT0up9AC7x2lg6544TixvgBnyj5cmc8xmTNZfAsVHEXQXw+ug ZsYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Imkvo1RGKx2li+huiUsYHjHfiPIvxyV1uczkGmUKkxY=; b=X/1fPf/lYtZbAyZnoxWyHcVn5LsAVJgCyw0Mo7O20pmdRUUaSHZGymAPACjWNeCFre KoBcW9hhzzj6k9+wb8ZGuDUcJPfwdax3BeOwRUCjXiOvbFzbZEnezrXxqEDdDqR0f7lq Pn3NszlfWLdSq3wdbpYEdWvlsZnLXITU6yZfxBkPvVBIGpBLRSWCk5eR6agkYCgshcXm gGc2Ti9V9FC0ANDHqtAbxmWYTDW57BOlTGJTJajqJ/kZSOw9GFnSxk21puhKnm8W9Nsx Ar7v6Wl3UoJ/MRoRQ70Oq+PplenDwwjVWPmGgPbWNDdUtxKvHsgDDMZTGphhd/lHeKCB CCdA== X-Gm-Message-State: AJcUukdrcjOe2gc5GV9aX1b/Is0HFKjYQvA2RV3Zow9HnyewA1aG3Cvl 8CNGosBmo+6ErwfH0qVyqHlt2tOJkIj9PyAdj5GiMg== X-Google-Smtp-Source: AFSGD/V5xK0zzJWROUEeqGWlYfaFq4bmJKbcPFbcK8ufj/sCeqUzL8bruECr+tUisC15WFy3oOkmz8tR72wO/UUYyQ4= X-Received: by 2002:a67:3e12:: with SMTP id l18mr20133138vsa.53.1546550805537; Thu, 03 Jan 2019 13:26:45 -0800 (PST) MIME-Version: 1.0 References: <0478636f9afd49d68a7d0c86d68c01e3@SERVER.ad.usd-group.com> In-Reply-To: <0478636f9afd49d68a7d0c86d68c01e3@SERVER.ad.usd-group.com> From: Ben Woods Date: Fri, 4 Jan 2019 08:26:34 +1100 Message-ID: Subject: Re: FreeBSD 12 log formats To: Matt Churchyard , "ed@freebsd.org" Cc: "freebsd-hackers@freebsd.org" X-Rspamd-Queue-Id: 5C0976A05C X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Dmzz/w1l; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of woodsb02@gmail.com designates 2607:f8b0:4864:20::e36 as permitted sender) smtp.mailfrom=woodsb02@gmail.com X-Spamd-Result: default: False [-6.69 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[6.3.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.75)[ip: (-9.86), ipnet: 2607:f8b0::/32(-2.15), asn: 15169(-1.64), country: US(-0.08)]; NEURAL_HAM_SHORT(-0.94)[-0.940,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 21:26:47 -0000 On Thu, 3 Jan 2019 at 3:12 am, Matt Churchyard wrote: > I (and other users) have noticed that log messages have started appearing > in a different format in FreeBSD 12 (although in my case only on one > system, and some logs are still the original format...). > ... > > Jan 2 12:04:13 ftp 1 2019-01-02T12:04:13.584377+00:00 ftp.full.hostname > pkg 5522 - - php72-hash-7.2.13 installed > Hi Matt, That log message has both the old and new formats combined - I believe that will occur when you are using an old syslog daemon with the new libc syslog(3) code. By =E2=80=9Cold=E2=80=9D daemon, I mean one that has not be= en updated to expect the /var/run/log[priv] sockets to contain RFC5424 style logs. Are there any jails involved with the above log message, or was it simply running =E2=80=9Cpkg install ...=E2=80=9D on the FreeBSD 12 host? If you are using rsyslog or syslog-ng, the UPDATING entry for this change (linked below) includes instructions required to make them work with the new libc code: https://svnweb.freebsd.org/base/head/UPDATING?r1=3D332100&r2=3D332099&pathr= ev=3D332100 Regards, Ben --=20 -- From: Benjamin Woods woodsb02@gmail.com