Re: logging hook for database audit

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: logging hook for database audit
Дата
Msg-id 3D8068FE-0F05-4ED6-8898-CAF35991AC61@hagander.net
обсуждение исходный текст
Ответ на Re: logging hook for database audit  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: logging hook for database audit  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
>> I can see the potential value of per-destination minimum message  
>> levels,
>> so maybe you should just propose that.  But this is a bad place for a
>> hook.
>
> Features I tried to implement are following:
>
>  * per-destination minimum message levels
>  * per-destination log line prefix
>        (syslog has their own prefix, but stderr has no default prefix)
>  * per-category minimum message levels
>        (don't write sql logs in syslog, but can write other LOGs)
>
> I'll take a direction to make them into some pieces of core patches.

I have been working with josh tolley that changes some infrastructure  
around this, with one of the future goals to be able to implement just  
this kind of features. I need to merge some changes from josh, and  
will then try to post a wip patch as soon as possible. Please look at  
this one before you start working on this - probably theoverlap will  
be very large.

/Magnus



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: RfD: more powerful "any" types
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Ragged CSV import