From: Gilles Darold Date: Wed, 7 Dec 2016 23:31:03 +0000 (+0100) Subject: Add information about pgbouncer log format in the -f option. Thanks to clomdd for... X-Git-Tag: v9.1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d951e5295c76cfacc26cfe81d229ec3f0a6e3d7;p=pgbadger Add information about pgbouncer log format in the -f option. Thanks to clomdd for the report. --- diff --git a/README b/README index 0112bae..8451336 100644 --- a/README +++ b/README @@ -26,8 +26,9 @@ SYNOPSIS -D | --dns-resolv : client ip adresses are replaced by their DNS name. Be warned that this can really slow down pgBadger. -e | --end datetime : end date/time for the data to be parsed in log. - -f | --format logtype : possible values: syslog, syslog2, stderr and csv. - Default: stderr. + -f | --format logtype : possible values: syslog, syslog2, stderr, csv and + pgbouncer. Use this option when pgbadger is not + able to auto-detect the log format Default: stderr. -G | --nograph : disable graphs on HTML output. Enabled by default. -h | --help : show this message and exit. -i | --ident name : programname used as syslog ident. Default: postgres diff --git a/doc/pgBadger.pod b/doc/pgBadger.pod index 527d993..4f5126d 100644 --- a/doc/pgBadger.pod +++ b/doc/pgBadger.pod @@ -28,8 +28,9 @@ Options: -D | --dns-resolv : client ip adresses are replaced by their DNS name. Be warned that this can really slow down pgBadger. -e | --end datetime : end date/time for the data to be parsed in log. - -f | --format logtype : possible values: syslog, syslog2, stderr and csv. - Default: stderr. + -f | --format logtype : possible values: syslog, syslog2, stderr, csv and + pgbouncer. Use this option when pgbadger is not + able to auto-detect the log format Default: stderr. -G | --nograph : disable graphs on HTML output. Enabled by default. -h | --help : show this message and exit. -i | --ident name : programname used as syslog ident. Default: postgres diff --git a/pgbadger b/pgbadger index 2b96cf6..f4be108 100644 --- a/pgbadger +++ b/pgbadger @@ -1675,8 +1675,9 @@ Options: -D | --dns-resolv : client ip adresses are replaced by their DNS name. Be warned that this can really slow down pgBadger. -e | --end datetime : end date/time for the data to be parsed in log. - -f | --format logtype : possible values: syslog, syslog2, stderr and csv. - Default: stderr. + -f | --format logtype : possible values: syslog, syslog2, stderr, csv and + pgbouncer. Use this option when pgbadger is not + able to auto-detect the log format Default: stderr. -G | --nograph : disable graphs on HTML output. Enabled by default. -h | --help : show this message and exit. -i | --ident name : programname used as syslog ident. Default: postgres