From owner-freebsd-questions@freebsd.org Sat Feb 15 00:12:46 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2A1F9247CEA for ; Sat, 15 Feb 2020 00:12:46 +0000 (UTC) (envelope-from danmason@danmason.net) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48K9gK3H0nz4Tqf for ; Sat, 15 Feb 2020 00:12:45 +0000 (UTC) (envelope-from danmason@danmason.net) Received: by mail-lj1-x22b.google.com with SMTP id d10so12591112ljl.9 for ; Fri, 14 Feb 2020 16:12:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=danmason-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Grcpya9o+yWxc8MdrO/Er8FPXcRCA1WiPBqlcUgOxYY=; b=2S329pxvvq3rzPCx7xDFXSCK05vjGcRGc7T5jFh6yiN70KE6wbV1BAfu8lRQuv/Rzk VK7uZFjJDehRiyG7Uaxc2qBlvzxvwh57RRC0bCJRSE7fSkKBtqMv0gwaccP5E30woimT LXmdFUTT6QBzQkK2B/WDJb9sisY/Zx39dFg2u6ix/x3t3hfnKvvxFeit6ZHqnBo/4oaj MZE8H0906eBWoRB3q0jHIrmMFN3NPgLOOpYeJ+0EQowqZWR0uFd/t6cQGyvqHlRDNrab Yli49U5G/+Y/4nGozgrZmugpEfy+wxUqstuzj5o1cJqu8CC0GlXHDGvMxddUV5HiPFyG 56Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Grcpya9o+yWxc8MdrO/Er8FPXcRCA1WiPBqlcUgOxYY=; b=OkvzykcetyjT+760BRGK94j01mxjeDK3U1PO+Pc7iiD+WOXk8cLNkzruVcbnWO7xaM 8NEP5qYJqlbKPz6UIMUGPK9ZDA6RXfZj8yYLPI+MpGtIDD5jsVNaAKDFuD3er2ALeq3R 9xAzH47EhoABLfuvh3nwXsKVhO7GkaZtUO17reA8EMuU8sVcYtAKPAsnMFsEh1NH8VyK 5sXfmvrq6j6t1SZwqSsQbXG6tEiWTJKTqhKjcGZzcZO4ssXxq8kWs0BpVoQbY2KwxNvy IsaekoK0AKMRKcYO7NitYbzMUlkBRlsDnJ7LoNc842NJK9CwfnKOKxZ+nD6tX6/Nnomn F1uw== X-Gm-Message-State: APjAAAU/DzlT0lSMiItq9sxxQmR/2FiLMTAw7AkTcVm7ehBScTN67FsZ Q5N7aHJ0DkheDFYFvsLHpRaTh1FrEq44LyHGuPykY9Fa0+k= X-Google-Smtp-Source: APXvYqwmc2bo2MQeqJ1i56Vtd0nVqdeEZKMQe9T21ERD7g9JUVOzebxi4vf1D8AG7NrHqMy0EvxY/Du/3xTIqSv41Z0= X-Received: by 2002:a2e:6815:: with SMTP id c21mr3186155lja.10.1581725563107; Fri, 14 Feb 2020 16:12:43 -0800 (PST) MIME-Version: 1.0 From: Dan Mason Date: Fri, 14 Feb 2020 18:12:32 -0600 Message-ID: Subject: syslogd logging format change from 11.2 to 11.3 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48K9gK3H0nz4Tqf X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=danmason-net.20150623.gappssmtp.com header.s=20150623 header.b=2S329pxv; dmarc=none; spf=none (mx1.freebsd.org: domain of danmason@danmason.net has no SPF policy when checking 2a00:1450:4864:20::22b) smtp.mailfrom=danmason@danmason.net X-Spamd-Result: default: False [-4.97 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[danmason-net.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[danmason.net]; DKIM_TRACE(0.00)[danmason-net.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[b.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.67)[ip: (-9.18), ipnet: 2a00:1450::/32(-2.42), asn: 15169(-1.68), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2020 00:12:46 -0000 Does anyone know why the syslogd logging format was changed in 11.3? I upgraded a server today and was annoyed by some regex failures but also the loss of useful information. In 11.2 you get the remote address and the hostname that was provided by the logger. Feb 14 15:39:34 23.212.155.184 rpi-1 jemrf[569]: A90 67.244 fahrenheit In 11.3 you get only the remote address. Feb 14 15:44:47 23.212.155.184 jemrf[569]: A90 66.956 fahrenheit The syslogd(8) man page has a new flag available to swap between address and hostname, but there doesn't appear to be an option to have both. -H When logging remote messages use hostname from the message (if supplied) instead of using address from which the message was received. There was value in having both but I'm not sure about the value of removing one of them, especially changing the layout by default instead of adding a new flag for new behavior. Dan -- "per aspera ad astra"