Wanted: way to limit logging

Поиск
Список
Период
Сортировка
От Jeff Boes
Тема Wanted: way to limit logging
Дата
Msg-id 9q225b$21em$1@news.tht.net
обсуждение исходный текст
Ответы Re: Wanted: way to limit logging  (Herbert Rabago Ambos <herbert@hindang.msuiit.edu.ph>)
Список pgsql-admin
We've enabled logging from our database during development, using the
option -l on the pg_ctl command.  However, we get a lot of useless data:

   NOTICE:  InvalidateSharedInvalid: cache state reset

shows up a lot, and whenever an INSERT statement is executed, we get the
statement as well as all the values.  Is there a way to reduce the
information spewed to the log? Ideally, we'd like to see only ERROR and
DEBUG messages, not NOTICE; for statements, we'd like to see the SQL
code, but have no interest in the values actually applied (some of our
INSERT statements receive 10K of data).


--
Jeff Boes                                             vox 616.226.9550
Database Engineer                                     fax 616.349.9076
Nexcerpt, Inc.                                      jboes@nexcerpt.com

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

Предыдущее
От: "Mikheev, Vadim"
Дата:
Сообщение: Re: Redo record at high number
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Database access error after upgrade 7.1.2 -> 7.1.3