Re: [PATCHES] logging statement levels - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [PATCHES] logging statement levels
Date
Msg-id 40732AA0.5070407@dunslane.net
Whole thread Raw
List pgsql-hackers
[moved to hackers]

Bruce Momjian wrote:

>Andrew Dunstan wrote:
>  
>
>>Why do we have log_min_error_statement default to PANIC level? Wouldn't 
>>ERROR be a better default?
>>    
>>
>
>Panic basically means off, meaning we don't print queries that generate
>errors.  Should we print them by default?
>
>  
>
I would. Some error happens and you don't know what statement caused it, 
by which time it is too late to go back and turn up error statement logging.

cheers

andrew



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Function to kill backend
Next
From: "Simon Riggs"
Date:
Subject: Re: Function to kill backend