Prevent application log pollution with notice messages

Поиск
Список
Период
Сортировка
От Andrus
Тема Prevent application log pollution with notice messages
Дата
Msg-id djj7k2$289$1@news.hub.org
обсуждение исходный текст
Список pgsql-general
My appl creates temporary table with primary key which exists only during
transaction.

Each creation of such table causes Postgres to write an entry to Windows
application log file like:

NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"taitmata_pkey" for table "taitmata"

I have lot of transactions and those messages will pollute application log
totally.

How to disable those notices for temporary tables ?

Also:

They cannot be filterad out since all Postgres log entries have type Error,
e.q.
LOG: database system is ready   message is Erorr message !

Why postgres uses Error category for NOTICES ?  Is'nt it reasonable to
use Information type ?

Andrus.



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

Предыдущее
От: "Andrus"
Дата:
Сообщение: Re: Select all invalid e-mail addresses
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [ANNOUNCE] PostgreSQL 8.1 Beta 4