jsonlog logging only some messages? - Mailing list pgsql-hackers

From Greg Stark
Subject jsonlog logging only some messages?
Date
Msg-id CAM-w4HM9vNpYmZWRyztnzmtuH65cow0ef_GKyXYQPX=5PLxP+A@mail.gmail.com
Whole thread Raw
Responses Re: jsonlog logging only some messages?  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
I tried loading the jsonlog module from
https://github.com/michaelpq/pg_plugins into Postgres 9.6.

However it seems it resulted in logs only for session log messages but
not any background worker log messages. We have log_checkpoints set
but there were no log messages in the json log about checkpoints. Nor
were there any from autovacuum.

Also I have log_destination set to stderr,cvslog and as I understand
it the jsonlog module effectively overrides the "stderr" output which
goes to the file named *.log (which I find super confusing,
incidentally). But I was expecting to get the csv file as well. We
didn't, we only got the *.log file with the (partial) json logs. Is
there something I'm missing here or is this unexpected?

-- 
greg


pgsql-hackers by date:

Previous
From: Claudio Freire
Date:
Subject: Re: [HACKERS] [PATCH] Vacuum: Update FSM more frequently
Next
From: Stephen Frost
Date:
Subject: Rewrite of pg_dump TAP tests