Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp542398ybk; Wed, 13 May 2020 06:50:05 -0700 (PDT) X-Google-Smtp-Source: APiQypKw95OV7dIPJx5EMfOG0WG1y5ae6emO+tjwO1qxOR+SGl0k1FDnCPC2V7NwVNhb2BbI0lRi X-Received: by 2002:a17:906:5608:: with SMTP id f8mr23178225ejq.190.1589377805665; Wed, 13 May 2020 06:50:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589377805; cv=none; d=google.com; s=arc-20160816; b=CJOeL7jZkZv83u8CVlYofhk/lKJNlKWVWuzV2k9aaGdmH1zPY8GuGm4bKrPMXG1+uN HVtg6tbTiZXVdqGuLIOxERnT+hVwnFTjdTn+LMJ7fubJMpYNLINGyk9OqqNtanmMczTv DWNj8XHFfo/HAtNGgTedJJQPVBILnn12h1JzKl+dWBnWK7Wwx9O+TXV1nYputE0lchB6 toN1TG+S22VMexiPIPgWXz1YP/fg2q+wBKYOlMNgXV1uiBRX7JDF2kXAkzK4fK2KDKuP UCba1/B7c+GZmaVG/Ir8V7VXS0zRG0xTuNVIUCIsa5J4+ea29joVvQrUcUPgXQi4+4qT 3/9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=9Q7iFAXPpByevKZqDK3E/lZ1Ma4RNsevM6jyOQSsV5E=; b=0s/7ytkf66skJ6ezAUk8pPycUBV+eDslNj+gwfb+UIyZQKxndD5Iz14k+2KkC+0h3y DoJpmU0QWgOU30g5b6G7t2Dy/j0UQEEruft2TzDpsxxFhxTv5gLdL08AObVF9BMCWoA+ urAyRYGGhOeSs2b0Fg7Z9Jwj2f6Kg1W6kDUNm2gzeQ1P7Tvlb9XduXwyqPx2j+SH3Blr f/f5WSTwaHGqwXE4xj6XkslcFizm2gF2LbWKBg8zLqGcL8yFy1zcQc6Gn/HJ+74AuSS+ /fjlDUbq8iVXAFhE8/Z93lExWfAhK1yTL8A5qw2v5i36ex8OZi0Kg6+tFMdKDmBij5le xYvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a26si3224087edb.163.2020.05.13.06.49.42; Wed, 13 May 2020 06:50:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388735AbgEMNqp (ORCPT + 99 others); Wed, 13 May 2020 09:46:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:40144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbgEMNqp (ORCPT ); Wed, 13 May 2020 09:46:45 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CA549204EA; Wed, 13 May 2020 13:46:43 +0000 (UTC) Date: Wed, 13 May 2020 09:46:42 -0400 From: Steven Rostedt To: Tetsuo Handa Cc: Petr Mladek , Sergey Senozhatsky , Michal Hocko , linux-kernel@vger.kernel.org, Dmitry Safonov , Yafang Shao Subject: Re: [PATCH] printk: Add loglevel for "do not print to consoles". Message-ID: <20200513094642.56bf50f7@gandalf.local.home> In-Reply-To: <20564555-7b84-f716-5dcd-978f76ad459a@i-love.sakura.ne.jp> References: <20200427062117.GC486@jagdpanzerIV.localdomain> <4dae86af-1d9a-f5a8-cff6-aa91ec038a79@i-love.sakura.ne.jp> <20200428121828.GP28637@dhcp22.suse.cz> <20200428154532.GU28637@dhcp22.suse.cz> <20200429142106.GG28637@dhcp22.suse.cz> <20200513062652.GM413@jagdpanzerIV.localdomain> <20200513100413.GH17734@linux-b0ei> <20564555-7b84-f716-5dcd-978f76ad459a@i-love.sakura.ne.jp> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 13 May 2020 20:03:53 +0900 Tetsuo Handa wrote: > I think that basically only oops (e.g. WARN()/BUG()/panic()) messages worth > printing to consoles and the rest messages do not worth printing to consoles. > Existing KERN_$LOGLEVEL is too rough-grained. And this statement is exactly why I believe you are wrong. Because *I* think messages to the console is more important than messages to the logs. Several of my servers are only monitored by the console. I seldom look at the logs on those machines. This is a policy decision, and must be made by user space. Your use case is not applicable to everyone else's use case. And should not be set in stone by the kernel. -- Steve