Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIfqn-0003ak-1x for pgsql-general@arkaria.postgresql.org; Mon, 22 Apr 2019 20:47:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hIfql-0004vS-Lk for pgsql-general@arkaria.postgresql.org; Mon, 22 Apr 2019 20:47:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIfqj-0004UX-QG for pgsql-general@lists.postgresql.org; Mon, 22 Apr 2019 20:47:39 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIfqf-0006Fl-Fm for pgsql-general@postgresql.org; Mon, 22 Apr 2019 20:47:37 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 6BD842B4; Mon, 22 Apr 2019 16:47:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 22 Apr 2019 16:47:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=h gGk0a9xjSNA9ANbNofGuIGeBZetWsdtVQtxnEgad1k=; b=hWnhijy6ngrxqDPUC K4ZknM+YM9WSk7GQ3rtslWawvWsy1sbncszPF2jWuloavD3HkJo2VRLZ4tdl9B1W LMw7kYLYtOBmjoZMNjD1URyho0Xl1MUN4TyyeDyJAkxti1ByjxuOdazw3qDFdpRG MgL0nfgCTkzAdIAAt+33yARTEJ+4JJvJG8RU6qU0jpLyzzCyImWWBtKHce68oxif A7ZzmmL8MlJnCp9GKt8qMgoMQi8JKIyFA4+Yx4zcEUcZCpUmm5Da0x8rf869D56M bHMSST3o38R9aRU+MoAnCtwjHOiojCt0uRTgrln47idb2B4k589MuCW03mkHqcPh 6Y4mA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=hgGk0a9xjSNA9ANbNofGuIGeBZetWsdtVQtxnEgad 1k=; b=igRHvoIQIN4kWdK+5EAe1bXNIMYjvwbOCtATVTYpGFIB1Mn6Gty2cQOiR 0tSCDkfpjE6Kbck/uQcmLsi/H1JOWNrZrjDMrhtDm8vFxHCQHljBZWPd78acJ8rR /+rU0ZXAqDco9w31ynoIL5gcjvRNQBnxfjOQceQ0QnYuqQEm4PRbBhGkTRRHH9sW n/JbmxA/L0dBKpGHEB+JD1dFhdnKGFRKR+yMbARSEKFBsgeH35F/02d53iogQhU3 PwW/EpaBIgImofwvm0sA52g9uVS77aWA5fN99mQE3g+fXpHpv1gcWnhOj/VGJawU RiuWBkjXKPUNBuXsA8cJwQEGz8lqg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeeigddugeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecukfhppeejuddrvddu vddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklh grvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 4BE23E407B; Mon, 22 Apr 2019 16:47:29 -0400 (EDT) Subject: Re: Why does log_error_verbosity not apply to server logs? To: Jeremy Finzel , Postgres General References: From: Adrian Klaver Message-ID: Date: Mon, 22 Apr 2019 13:47:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 4/22/19 1:30 PM, Jeremy Finzel wrote: > I have a DO block which is raising a log message with number of rows > deleted.  It also shows CONTEXT messages every time, which I don't > want.  But setting in the client log_error_verbosity = terse does not > work to get rid of the messages.  I can't get it to work even setting it > on a per-user level. > > My client shows terse verbosity as expected, but the server logs always > no matter what have CONTEXT messages. > > Is there any way to suppress these when called in a DO block like this? Well the docs: https://www.postgresql.org/docs/11/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHAT say this can only be changed by a superuser. So are you doing it as a superuser? Can you show how you are modifying the setting? > > Thanks, > Jeremy -- Adrian Klaver adrian.klaver@aklaver.com