pglogger is a logging framework for PostgreSQL. It is inspired by log4j.
Thanks is due to all the project members and to the folks developing
PostgreSQL and all its community.
Special tanks to Adrian Klaver, Pavel Stehule and Laurenz Albe for sharing their
insights and precious time. Having said that it feels quite awkward as it is not clear whether other mentions
by name would be appropriate because they shared much of their little spare time.
Please do not be offended.
Thanks to the providers of SourceForge so we can
publish our works to a broader audience. Hopefully it stays clean from add ware
and other nuisances or worse things.
$Header$
Provide a fairly recent z-shell (e.g. 5.5.1) or a Windows command line if you do
not want to run full_install.pg_sql
by means of psql
against your database
(only for installation)
Provide a PostgreSQL database ;-) at least of version 13 (the most recent package has been developed against
version 17.0) with extension dblink
installed. Make sure that it has been compiled with LZ4
support. It is required
for the compression.
Recommendation is:
template1
with postgres
.create extension dblink;
.create database <YOUR_APPLICATION_DATABASE>;
.Install pgutils -
pglogger has been developed against pgutils release 2019-10-08
Create your logging user <LOGUSER>
with the create
and login
privilege onto your application database, e.g
create role <LOGUSER> with password 'Do change this silly password' createdb login;
Create your logging schema <LOGGER>
that is owned by <LOGUSER>
. create schema <LOGGER> authorization <LOGUSER>;
Unpack the pglogger package
Adapt tables/PROPERTY.pg_sql
(db, user, password), set_parameters.pg_sql
,
full_install.zsh
or full_install.bat
to your setup
Run full_install.zsh
or full_install.bat
or full_install.pg_sql
against
your database
As schema owner provide the correct connection string in
PROPERTY.PROPERTY_VALUE_STRING for PROPERTY.PROPERTY_NAME =
'DBLINK_CONNECT_STRING'
Is not supported any more.
$Header$
$Header$
The documentation of the code is generated by HyperSQL.
uuid-ossp
is not needed any longer. It was switched to the core gen_random_uuid
function. This also means, that PostgreSQL versions below 13 are not supported any more.The HyperSQL documentation is outdated. Issue [#8] has been opened to eventually migrate to NaturalDocs or similar for HyperSQL requires Python2 which is not supported anymore even by recent Debian and a port to Python3 has never been carried out successfully.
For issue tracking the SourceForge Tracker is employed.
As code repository the Subversion installation of SourceForge is used.
pglogger is under the Lesser Gnu Public License v3 (LGPLv3) or later.
$Header$