{"id":16105075,"url":"https://github.com/intgr/pg_journal","last_synced_at":"2025-03-18T08:31:38.131Z","repository":{"id":2643273,"uuid":"3632789","full_name":"intgr/pg_journal","owner":"intgr","description":"Log PostgreSQL messages to systemd journal","archived":false,"fork":false,"pushed_at":"2024-01-23T06:57:27.000Z","size":35,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T08:28:10.641Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"postgresql","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intgr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-03-05T23:57:54.000Z","updated_at":"2025-02-13T14:24:37.000Z","dependencies_parsed_at":"2024-10-27T17:27:09.810Z","dependency_job_id":"e150de5d-1a92-4a0e-bed6-8df902ea9073","html_url":"https://github.com/intgr/pg_journal","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intgr%2Fpg_journal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intgr%2Fpg_journal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intgr%2Fpg_journal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intgr%2Fpg_journal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intgr","download_url":"https://codeload.github.com/intgr/pg_journal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910749,"owners_count":20367545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T19:08:20.744Z","updated_at":"2025-03-18T08:31:37.671Z","avatar_url":"https://github.com/intgr.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Building pg\\_journal\n====================\n\nThis is a PostgreSQL preload module for sending log messages directly to the\nsystemd journal log.\n\nThis document explains how to build pg\\_journal. For usage documentation and\nmore info, please see the `doc/pg_journal.md` file or [read the latest version\nonline](http://pgxn.org/dist/pg_journal/doc/pg_journal.html).\n\nPrerequisites:\n\n* PostgreSQL version 9.2+ (earlier versions supported with a server patch).\n* systemd v38 or newer with libsystemd-journal installed.\n\nQuick start\n-----------\n\nTo build and install this extension, simply run:\n\n    make\n    sudo make install\n\nThen add the following line to your `postgresql.conf`:\n\n    shared_preload_libraries = 'pg_journal'\n\nThis change requires a restart of PostgreSQL.\n\nInstallation\n------------\n\nTo use this module, you need PostgreSQL version 9.2 or later. To use with\nearlier versions, you need to patch and build your server manually. The\nnecessary patch is included under `patches/logging-hooks.patch` (courtesy of\nMartin Pihlak).\n\nTo build and install this extension, simply run:\n\n    % make\n    % sudo make install\n\nIf you run into problems with building, see [PostgreSQL wiki for\ntroubleshooting](https://wiki.postgresql.org/wiki/Extension_build_troubleshooting)\n\nOnce pg\\_journal is installed, you can enable it in your configuration file.\nFind the `postgresql.conf` file (usually in your PostgreSQL data directory) and\nadd the following line:\n\n    shared_preload_libraries = 'pg_journal'\n\nYou need to restart your server for this to take effect. After that, log\nmessages are automatically sent to journal.\n\nCopyright and License\n---------------------\n\nCopyright (c) 2012-2015 Marti Raudsepp\n\npg\\_journal and all related files are available under [The PostgreSQL\nLicense](http://www.opensource.org/licenses/PostgreSQL). See LICENSE file for\ndetails.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintgr%2Fpg_journal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintgr%2Fpg_journal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintgr%2Fpg_journal/lists"}