| От | Peter Eisentraut |
|---|---|
| Тема | Re: Monitoring error messages |
| Дата | |
| Msg-id | 200608171817.47633.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | Monitoring error messages (<robin.c.smith@bt.com>) |
| Список | pgsql-admin |
robin.c.smith@bt.com wrote: > These are both logged as ERROR: which is easy to check for with > automatic monitoring. However I wouldn't want to be called out to fix > a non-existent error where someone has typed in some nonsense. Is it > easy to suppress the syntax errors so that the real database errors > are obvious? I think the short answer is "No", unless you do your own post-processing. But note that syntax errors may also point to mistakes in your application code. If you want to filter out randomness that occurs during interactive sessions, I'd rather attack the problem there. You could, for example, alter the logging settings in your .psqlrc file. -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера