duplicate key errors in log file - Mailing list pgsql-general

From anj patnaik
Subject duplicate key errors in log file
Date
Msg-id CAEQKwSmZ6FnWWimXFUAY-7oHFfSMfr8bwrtksEzZLQ=wnNv2Uw@mail.gmail.com
Whole thread Raw
Responses Re: duplicate key errors in log file
Re: duplicate key errors in log file
List pgsql-general
The pg log files apparently log error lines every time a user inserts a duplicate. I implemented a composite primary key and then when I see the exception in my client app I update the row with the recent data.

however, I don't want the log file to fill out with these error messages since it's handled by the client.

is there a way to stop logging certain messages?

Also do any of you use any options to cause log files not to fill up the disk over time?

Thanks,
ap

pgsql-general by date:

Previous
From: Ramesh T
Date:
Subject: Re: Taking lot time
Next
From: Jim Nasby
Date:
Subject: Re: BDR and Backup and Recovery