From owner-freebsd-questions@freebsd.org Sun Jul 26 17:15:10 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 DDB9A366704 for ; Sun, 26 Jul 2020 17:15:10 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) Received: from sonic309-21.consmr.mail.ne1.yahoo.com (sonic309-21.consmr.mail.ne1.yahoo.com [66.163.184.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BF8hF64VKz3Z91 for ; Sun, 26 Jul 2020 17:15:09 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) X-YMail-OSG: 2jU5uPoVM1k271h8BteYDUh_.YhEB1w4FvBqX.mrAOzpTZqpTSYU9ugQV_ECNDA dR0VNaMIy9i6thSD9eojsyeGf3d1iWcBc8LXNSK2G2C.W3VMdTfTOQEIX957xpmr34Ha3zU6O5Iy ETblJ7Kq7tRO9dkdaeMjDOdYlFUyM8W.yl_06kgO4IRWsmX0mOd6Es0U1XfnLG_7pfCa4cmtBXgi 9aaJTwok8x_8_C3t7Q1toTMJ1LjJERaLPbUYBy1aeKVis6FQLhHQ2mCLcEMdB_AWCAD0iq_GgC_k nvKnyFCAuaYRAjsXr9Gzov8VpOmAS7ToDqtnuy2TUcJhPRNU6fiUql6WfVQ7E87u97h8PiDpuDAW DxmCmBwxR8k7984ZcKGfaPzHZV_EPCpiZO6j093q2Mj1zsmUXpUH96WXerrF0s4RP4qURIganTBt bY7x0aJplCyHCfbapLstyXIo0CH2jO7WJIZEKLrFJjk6e52Mszvuh.bwZyDyOLV7OAI0gBG1oDrd InhFYK.YYX0WKXNRbTowFBioiMVMVwZiV0Gc1jD1LcHes5G9sg3inRh2VCMpumRQYAOckb0YwF.k 5tpU9kw.Cfkw_r_OTWUwE9KAsvR6qGf69dqdIXxqXlEVZ18XR.Is6yRvGs7iEUWTbjapxFyCq8gr 7FbUf7ScuVsuy88vd7WuoyjyobxFxABB20DV5ieD72XofbyLbEJvAvehjGPEXu3LqcB6bsEu7j2o U_lXqjTYhnUX3o6wVn8RRSPGx_.0csVDRnjBJn3hS4bEbjpu4D8qs6Hw7WTuxv5I8bqz4EfdZLus 4r0nM8fW0h_Xb0qsre.NZW5.0b62vK8AAyyB2MAZi.j_KOiG3FJJ57y8QAXvFmtjz1Ih..KvfDLe ngaLtwBWQ7YU0h0WxVMD9BzkszOMHp58sBK9aa_Z7HhDnfa5F_j74s94KzzoeNwePUv728AvF3Nw O4hajaXyK6c021V0NT_rW.s1Wpo1TmqPSGgYyVZ6hQAnn81CnGCG7qcMhwQSEBsnRbv95XKn7VDp JURcdBxxjdb1I5cbI7EZ5GutSRRA6Y5ZZul6OFLU5zmNcVUhZ8f315mtDtV.KLJQZhNHWZtcpIWE mTxTJTQOgtz9r6xe1nsY3xNPcf1KYwuMV95I24tzSfnq6EsQCeJVPH5AFlQS7qY0CAhnFobR0ULd Oyx98325n3pZ6F3XARfrVwRLufTZp63O9PQhourbWLi9W_CN5krmLiIQyMsXM02rT4kpz9Q4PUWP 812NYXNKBC5MOnWbsCHOYNLsOA3i_E3McPKwhmMTQBL86D1M5Op8KMGZFC8dIBg2iFN4IN4bvXIj CSpJTs0hryvKqhJANZgfmfcRnLhWj0.uL_1nUM7qjrr5.LiNUMDGcmFVI9ZoezJsBS6Rx64ooFDN 9.7GlRGsGjnwnWlI- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Sun, 26 Jul 2020 17:15:07 +0000 Received: by smtp401.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b0b7461374b8d18f5ea27d6bb6912742; Sun, 26 Jul 2020 17:15:02 +0000 (UTC) Received: by mail-pj1-f49.google.com with SMTP id k71so7887366pje.0 for ; Sun, 26 Jul 2020 10:15:02 -0700 (PDT) X-Gm-Message-State: AOAM531kc8KriLeao1HuVqxTviJH/3CTZeXnWSZjeG7diEN4AUccJnp0 8cMkTdP/Yl4G7fIbBe9veYCZB0AgEvrJTAMNaEc= X-Google-Smtp-Source: ABdhPJwUEjk5Sp61+WFahgW8c7fHbeCY6pElQEeswF/ZqppKFGNODNGkxlUBwyNAH2I8Mb7Zh8WLPorroH8juTm00aY= X-Received: by 2002:a17:902:7d90:: with SMTP id a16mr15409751plm.226.1595783701119; Sun, 26 Jul 2020 10:15:01 -0700 (PDT) MIME-Version: 1.0 References: <5F1B8399.6000502@gmail.com> <20200725032502.5e0a272b.freebsd@edvax.de> <5F1D8817.9090501@gmail.com> In-Reply-To: <5F1D8817.9090501@gmail.com> From: Ottavio Caruso Date: Sun, 26 Jul 2020 18:14:44 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to see shutdown log To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Mailer: WebService/1.1.16271 hermes_yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) X-Rspamd-Queue-Id: 4BF8hF64VKz3Z91 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.82 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.01)[-1.006]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.004]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[66.163.184.147:from]; NEURAL_HAM_SHORT(-1.11)[-1.112]; TO_DN_EQ_ADDR_ALL(0.00)[]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.184.147:from]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 17:15:10 -0000 On Sun, 26 Jul 2020 at 14:41, Ernie Luzar wrote: > > Polytropon wrote: > > On Fri, 24 Jul 2020 20:58:01 -0400, Ernie Luzar wrote: > >> When you boot the system a bunch of messages roll across the screen to > >> fast to read. The dmesg -a command will show these to you to read at > >> your own pace. When you issue the shutdown or halt command a bunch of > >> different messages roll across the screen to fast to read. > >> > >> Is there a way view these messages after the system comes back up later? > > > > Yes, those are located to /var/log/messages, as long as > > file system access is possible; the last kernel messages > > therefore aren't being logged. > > > I checked and what is logged to /var/log/messages on host shutdown is no > were close to the messages I see fly past on the console terminal. > > This is real easy for people to test so give it a run. > > Thinking maybe something else is controlling what goes to the message > file on shutdown. Have any ideas where I should look? Not everything that you see on the console is logged to /var/log/messages, check your /etc/syslog.conf. I have this: *.err;kern.warning;auth.notice;mail.crit /dev/console *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages But I can still see some shutdown messages in /var/log/messages: Jul 23 21:46:30 FreeBSD shutdown[2319]: power-down by oc: Jul 23 21:46:30 FreeBSD kernel: . Jul 23 21:46:30 FreeBSD ntpd[687]: ntpd exiting on signal 15 (Terminated) Jul 23 21:46:30 FreeBSD kernel: . Jul 23 21:46:30 FreeBSD syslogd: last message repeated 1 times Jul 23 21:46:31 FreeBSD syslogd: exiting on signal 15 -- Ottavio Caruso A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?