pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedPatterns to look for in the PostgreSQL server log
3+ messages / 3 participants
[nested] [flat]
* Patterns to look for in the PostgreSQL server log
@ 2020-03-10 16:57 Mageshwaran Janarthanam <mageshwaran.janarthanam@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Mageshwaran Janarthanam @ 2020-03-10 16:57 UTC (permalink / raw)
To: pgsql-general
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?
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Patterns to look for in the PostgreSQL server log
@ 2020-03-11 00:32 Adrian Klaver <adrian.klaver@aklaver.com>
parent: Mageshwaran Janarthanam <mageshwaran.janarthanam@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Adrian Klaver @ 2020-03-11 00:32 UTC (permalink / raw)
To: Mageshwaran Janarthanam <mageshwaran.janarthanam@gmail.com>; pgsql-general
On 3/10/20 9:57 AM, Mageshwaran Janarthanam wrote:
> 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?
That really depends on you. To get an idea of what the message levels
are being triggered for take a look at:
https://www.postgresql.org/docs/12/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHAT
Table 19.1. Message Severity Levels
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: Patterns to look for in the PostgreSQL server log
@ 2020-03-11 13:14 Kevin Brannen <KBrannen@efji.com>
parent: Mageshwaran Janarthanam <mageshwaran.janarthanam@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Brannen @ 2020-03-11 13:14 UTC (permalink / raw)
To: 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 config
appropriately for your situation and comfort level.
This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain confidential information. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, distribution, review, copy or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail, and destroy the original transmission and its attachments without reading them or saving them to disk. Thank you.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-03-11 13:14 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 16:57 Patterns to look for in the PostgreSQL server log Mageshwaran Janarthanam <mageshwaran.janarthanam@gmail.com>
2020-03-11 00:32 ` Adrian Klaver <adrian.klaver@aklaver.com>
2020-03-11 13:14 ` Kevin Brannen <KBrannen@efji.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox