Обсуждение: Re: [PATCHES] logging statement levels

Поиск
Список
Период
Сортировка

Re: [PATCHES] logging statement levels

От
Andrew Dunstan
Дата:
[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