From nobody Mon Aug 29 00:04:27 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MG9fT09Rnz4ZkS7 for ; Mon, 29 Aug 2022 00:04:33 +0000 (UTC) (envelope-from void@f-m.fm) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MG9fS0bDbz47HP for ; Mon, 29 Aug 2022 00:04:32 +0000 (UTC) (envelope-from void@f-m.fm) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 79A4332004E7 for ; Sun, 28 Aug 2022 20:04:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 28 Aug 2022 20:04:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1661731469; x=1661817869; bh=FRIMuwUVl9 4PqVT6F9DMn2cJoIt8wG+S8fAJ+mOlm/4=; b=AS95kTxFSe2U/hZDrG1sN427Ad 2GNze/HNRTAaEePBt+raO/V3ksasjoXnxoESMlLCRgJS0BHZuLLZx7JXBOP5ycZ/ PMmXRAov0+Q8ZKCANEtZ47VQG1E4Jj984T6fLjp0FIzD9fv+w9IcF2nCDsOhFHMh whtaGYnBYHYN9gpIKpmBXBMXDma8fvxTJT3Zv1g2UKbtR/kwvHq8a+dihPeYB0do fjRvLLPREsSmmEU/U+xPtAmK+9hzbiceMv95+b6INNSPXB3aXPq11nTv9GqoZK95 SiBoJGPS7wJHbONK20/s3QtOqNhw6UdI43CMJ6mrWtt3+y7Pm/VGAf4pvHsw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1661731469; x=1661817869; bh=FRIMuwUVl94PqVT6F9DMn2cJoIt8 wG+S8fAJ+mOlm/4=; b=Ksw2nd6rWm3Et/BAIFuw72i2bFsykFiVd+ElFKWurVDf 6DeNWbtgAe2ih37RCSf4TB9/SNrHF/vkG6G0129D1kLfuQ8kIBFMBBQ51GAi8LNQ SFOE6IW+kumuk43iWIR1aM/SOeaN9OwaGUbplCBqiwnCC6jUCuxJ8THDWJodLS0t RYp49PD/IA1ifoyAk3tYlwoKRYZ3CpOhOlws/IMMg4YC3qsk+EMItlEUmSt13T93 uJ4LJLECWrhu3RulhvOQ81RhYoB7ExFCMvLFYWLJon+JeHH8BkRjeIQOVM2Uok+n /5QAe7YdSfYq19MTPDE5Pi15e1kCMSIwGzNO+uW1VQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdektddgfedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgr thhtvghrnhepkeeluddvlefhieelfefggffhffektdehleelgfdugfdvgeekjeejuddthe ehgfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep vhhoihgusehfqdhmrdhfmh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 28 Aug 2022 20:04:29 -0400 (EDT) Date: Mon, 29 Aug 2022 01:04:27 +0100 From: void To: freebsd-questions@freebsd.org Subject: Re: turn on timestamps in kernel log messages? Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org References: <20220828165715.fr3gvjk2esatukn5@shelly.nomadlogic.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4MG9fS0bDbz47HP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm1 header.b=AS95kTxF; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Ksw2nd6r; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 64.147.123.21 as permitted sender) smtp.mailfrom=void@f-m.fm X-Spamd-Result: default: False [-2.95 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm1,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21:c]; NEURAL_SPAM_MEDIUM(0.15)[0.153]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N On Mon, Aug 29, 2022 at 12:46:45AM +0100, void wrote: >On Sun, Aug 28, 2022 at 06:00:34PM -0400, Dan Langille wrote: >>Did it work? > >Not sure yet > >This is with it set to 1: > >kernel log messages: >+[2526502] tap3: link state changed to DOWN >+[2526886] tap3: link state changed to UP >+[2527114] tap3: link state changed to DOWN >+[2527124] tap3: link state changed to UP >+[2527231] tap3: link state changed to DOWN >+[2527242] tap3: link state changed to UP # sysctl kern.msgbuf_show_timestamp=2 [2544779] tap12: link state changed to DOWN [2544789] tap12: link state changed to UP [2545295] tap12: link state changed to DOWN [2545306] tap12: link state changed to UP so, unfortunately it doesn't give a useful timestamp. What I'm looking for is something like 2022-08-29.01:02.05 BST or even just 2022-08-29.01:02 --