Skip to content

About

JSON logger for PostgreSQL

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

pg_json_log

This module is a logging facility using the hook present in elog.c to generate server logs in JSON format.

Its installation can be done by adding this parameter in postgresql.conf:

shared_preload_libraries = 'pg_json_log'

Note that logging_collector should be enabled in postgresql.conf to ensure consistent log outputs. As JSON strings are longer than normal logs generated by PostgreSQL, this module increases the odds of malformed log entries.

About

JSON logger for PostgreSQL

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages