Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fw2va-000554-W0 for pgsql-admin@arkaria.postgresql.org; Sat, 01 Sep 2018 10:14:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fw2vX-00016M-42 for pgsql-admin@arkaria.postgresql.org; Sat, 01 Sep 2018 10:14:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fw2vW-000166-PN for pgsql-admin@lists.postgresql.org; Sat, 01 Sep 2018 10:14:46 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fw2vS-0004Ts-G4 for pgsql-admin@postgresql.org; Sat, 01 Sep 2018 10:14:45 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 1F91DEDB2B35 for ; Sat, 1 Sep 2018 03:14:41 -0700 (MST) Date: Sat, 1 Sep 2018 03:14:41 -0700 (MST) From: pavan95 To: pgsql-admin@postgresql.org Message-ID: <1535796881126-0.post@n3.nabble.com> Subject: Re: Can we exclude errors of some particular text in Postgres log file? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Team, Can we exclude errors of a particular type from the postgres log file ? For example: ERROR: duplicate key value violates unique constraint "table_uniq" DETAIL: Key (column1, column2, column3)=(value0, value1, 1) already exists. If yes, how can we exclude this errors from the pg_log files. Suggest me an approach. Thanks in Advance. Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html