postgresql-container icon indicating copy to clipboard operation
postgresql-container copied to clipboard

Add option to log lines in JSON

Open rgordill opened this issue 1 year ago • 1 comments

This feature provides better support for ingesters that processes json to structure the logs, like elasticsearch, loki, etc.

https://www.postgresql.org/docs/current/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-JSONLOG

rgordill avatar Mar 16 '23 10:03 rgordill

For your records, that would be only available from v15: https://www.postgresql.org/docs/release/15.0/

rgordill avatar Mar 16 '23 12:03 rgordill