Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w7q2s-005kEB-33 for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 07:31:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w7q2r-00FidI-0U for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 07:31:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w7q2q-00FidA-2n for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 07:31:21 +0000 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w7q2o-000000026MO-2ig6 for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 07:31:20 +0000 Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-c70f91776fcso2648377a12.0 for ; Wed, 01 Apr 2026 00:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775028678; x=1775633478; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=12xfyOPk0jAtob/Oe2t7XJKqHdW+fb+qe9p7N2EQXOk=; b=qJwbj0OZUorUhz49KoszWcyNf6ZsngIDUfLXfaynwoYafhRXA+CO8y23cZqjdLXQMt 5s6w0dcYHWWbulNnOfLhFfYIuw8mA8VRlRN8mTBUfOWN41vqOLp0tQhkTM7GThvhlVbx xv5mU56mjNEBUI4hhEHYe897fcSImhfwPi8e+7reiF4KIrjoudaX/2byA0SyOvQ1/LW4 t6XxIoytBhRwsvwOPdyzezPW2v/A+kYIbYk20v9c5oqj5vgPtzldJRua5a3tcsbsD0Dr RqyQet00mOsknxJpzU5o/1d2YME9YLLAgw/muenacYc9qGTUZ9oASN0uKAkp1tK3YwTM 0hNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775028678; x=1775633478; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=12xfyOPk0jAtob/Oe2t7XJKqHdW+fb+qe9p7N2EQXOk=; b=XeemNslhIA5FUSJddCqNNwpYMLOe1asT5HaAFUODTe4dVICgzzyyfSDpmEyONbbgXB ktyM58RspRHgiWotZXaiFaMfG9AtDXVUZUJ8T6gELyR0pXpCEsRQZBCxq84gzRZuCfI3 tZgri1PULdI4Bec9XF8mBA6ODGSMP5lzNDl9StSGXAbss/PRTLNZOqV4UOe1h47h9LZP gl40OJzR9mLzvbKuyLJk6l9r43D68NTIFKmUoz9cIDh32c+j0N5FlJABbGwsvAdNDvnd x4QQvliq9l8lxkoaElCXsHhElBShJaS4pJZunRfK86qyCtF1nCEuRT9x3CVzSzuHRMtf aPxg== X-Forwarded-Encrypted: i=1; AJvYcCXtnTIn12OyggfFXrdwbqnTzdlL8SLUX5NEn5NkeZ2k/XXrb6cyeGz9+ev+EbJRavi8sH5pH9C6OF9NG7b8@lists.postgresql.org X-Gm-Message-State: AOJu0YzUL1CS0CTfqb35Rnoa2PNpPtC/hKTQ8dYp2ilfaatXHp9a90zB PKgPFA+vPo7lDVRWJ939kku/dS+wCyBO26doDSxRKSHHmqFft8jJsMzg X-Gm-Gg: ATEYQzykEmR2T0z6xOdXNcTrmuEVG1Vn9ws0pB9CV122QjaIXalWEP+hxp1RH95tFwX kJfoPDxydW/DuSVqfCMnK6XkJS8/rOkxgPPBi9hHmQj5iQV8ymDrJmwaIATX3Bu+EoTN9Dwm7Ll w4QVniv5vXGTwvQoKsj+CpgRJEEtqlJhh3yySnvwR5ZHqgFXq+0O8jT+omWxdN5kbrqR8SimezM soVx1nM9Go1iK/NMXRWOv++UGL6SrqelbD96bgoNpdzap6ev3WmKlxivbe5LTbhCcCB7LmoXIuM 8GU9huQFNDXUaOD8nVqn/8HsbIfijXLnmoNP0HSTGv2IHCq3wKdyKDKhb79SyJ9Jqi/pJL7BqMT nGHe3BniIHPVIyG44KuH125oGDEUQyQhVatMioTbafLQPZKOX4KvNKoqzVzWho9MVUoK986T6GC OOWHshc5T8FOUH0mtZDqLEkhr1owjKVHKh X-Received: by 2002:a05:6a21:9981:b0:366:1fea:9b54 with SMTP id adf61e73a8af0-39ef76b4a0amr2474750637.39.1775028677734; Wed, 01 Apr 2026 00:31:17 -0700 (PDT) Received: from smtpclient.apple ([185.135.79.125]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82ca843e1desm15723169b3a.4.2026.04.01.00.31.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2026 00:31:17 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.400.21\)) Subject: Re: Reduce log level of some logical decoding messages to DEBUG1 From: Chao Li In-Reply-To: Date: Wed, 1 Apr 2026 15:30:40 +0800 Cc: Bharath Rupireddy , PostgreSQL Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <5AFD043F-6542-4BE8-BC46-5F9EF281B3BF@gmail.com> References: To: Fujii Masao X-Mailer: Apple Mail (2.3864.400.21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Apr 1, 2026, at 14:48, Fujii Masao wrote: >=20 > On Wed, Mar 25, 2026 at 2:54=E2=80=AFPM Fujii Masao = wrote: >>> Perhaps, we could wait >>> for some time to hear from others. >>=20 >> +1. >>=20 >> If there are no further comments in the next few days, and given the = limited >> time before feature freeze, I'm inclined to at least apply the 0001 = patch >> (which simply lowers the log level to DEBUG1). >=20 > Since there were no objections for about a week, I've pushed the 0001 > patch. Thanks! >=20 > If any issues or concerns are raised, let's consider applying the 0002 = patch! >=20 > Regards, >=20 > --=20 > Fujii Masao TBH, I=E2=80=99m not quite sure what practical benefit this patch set = provides. In 0001, some messages are changed from LOG to DEBUG1. But then 0002 = introduces trace_logical_decoding_messages, whose default is DEBUG1, so = with the default setting those messages are effectively promoted back to = LOG again. That seems to cancel out the behavior change from 0001 by = default. Also, looking at where trace_logical_decoding() is applied in 0002, all = the call sites currently pass DEBUG1. So in practice, if a user sets = trace_logical_decoding_messages to anything higher than DEBUG1, all of = those messages disappear. That makes it feel more like an on/off switch = than a mechanism for filtering messages by level. So at least to me, the overall value of this patch is still not very = clear. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/