RE: Patterns to look for in the PostgreSQL server log
От | Kevin Brannen |
---|---|
Тема | RE: Patterns to look for in the PostgreSQL server log |
Дата | |
Msg-id | MW3PR19MB4252DC28BBB7B77AACF25273A4FC0@MW3PR19MB4252.namprd19.prod.outlook.com обсуждение исходный текст |
Ответ на | Patterns to look for in the PostgreSQL server log (Mageshwaran Janarthanam <mageshwaran.janarthanam@gmail.com>) |
Список | pgsql-general |
>From: Mageshwaran Janarthanam <mageshwaran.janarthanam@gmail.com>
>
>Hi Team...I am trying to setup some monitoring over the PostgreSQL server log. I am not clear which error I should be most concerned about. Could you please share your thoughts on what pattern I should search in the log file?
I'd treat it like any other log and apply negative filters; i.e. filter out
things that aren't a problem, which leaves things you do care about and
anything unexpected (which might cause you to add another filter to remove
it for next time if you find it's not really a problem).
Adrian is giving good advice too. Understand the log levels and set your configappropriately for your situation and comfort level.
В списке pgsql-general по дате отправления: