]> granicus.if.org Git - pgbadger/log
pgbadger
5 years agoMargin on top of body
Pierre GIRAUD [Tue, 16 Apr 2019 08:37:05 +0000 (10:37 +0200)]
Margin on top of body

Avoids <br> hack

5 years agoMerge pull request #482 from darold/pgiraud-patch-1
Gilles Darold [Tue, 16 Apr 2019 07:14:09 +0000 (09:14 +0200)]
Merge pull request #482 from darold/pgiraud-patch-1

Fix markdown format

5 years agoFix markdown format
Pierre GIRAUD [Tue, 16 Apr 2019 07:03:28 +0000 (09:03 +0200)]
Fix markdown format

5 years agoAdd regression test for logplex format.
Darold Gilles [Sun, 7 Apr 2019 08:05:59 +0000 (10:05 +0200)]
Add regression test for logplex format.

5 years agoAdd support to Heroku's PostgreSQL logplex format. You should be able to
Darold Gilles [Fri, 15 Mar 2019 12:35:13 +0000 (13:35 +0100)]
Add support to Heroku's PostgreSQL logplex format. You should be able to
parse these logs as follow:

    heroku logs -p postgres | pgbadger -f logplex -o heroku.html -

or if you have already saved the output to a file:

    pgbadger heroku.log

The logplex format is autodectected like any other supported format.
pgBadger understand the following default log_line_prefix:

    database = %d connection_source = %r sql_error_code = %e

or simply:

    sql_error_code = %e

Let me know if there's any other default log_line_prefix. The prefix
can always be set using the -p | --prefix pgbadger option:

    pgbadger --p 'base = %d source = %r sql_state = %e' heroku.log

for example.

Thanks to Anthony Sosso for the feature request.

5 years agoFix pgbadger help on URI use.
Gilles Darold [Fri, 22 Feb 2019 10:01:16 +0000 (11:01 +0100)]
Fix pgbadger help on URI use.

5 years agoFix broken wildcard use in ssh URI introduced in previous patch. Thanks to Tobias...
Gilles Darold [Fri, 22 Feb 2019 09:28:29 +0000 (10:28 +0100)]
Fix broken wildcard use in ssh URI introduced in previous patch. Thanks to Tobias Bussmann for the report.

5 years agoAllow URI with space in path to log file. Thanks to Tobias Bussmann for the report.
Gilles Darold [Thu, 21 Feb 2019 21:17:53 +0000 (22:17 +0100)]
Allow URI with space in path to log file. Thanks to Tobias Bussmann for the report.

5 years agoMerge pull request #478 from tbussmann/patch-1
Gilles Darold [Thu, 21 Feb 2019 20:39:47 +0000 (21:39 +0100)]
Merge pull request #478 from tbussmann/patch-1

Fix URI samples in documentation

5 years agoFix URI samples in documentation
Tobias Bussmann [Thu, 21 Feb 2019 20:31:55 +0000 (21:31 +0100)]
Fix URI samples in documentation

5 years agoMerge pull request #474 from credativ/test-duration
Gilles Darold [Tue, 19 Feb 2019 12:19:19 +0000 (13:19 +0100)]
Merge pull request #474 from credativ/test-duration

t/02_basics.t: Don't fail if syslog test takes more than 10s

5 years agot/02_basics.t: Don't fail if syslog test takes more than 10s
Christoph Berg [Tue, 19 Feb 2019 11:45:41 +0000 (12:45 +0100)]
t/02_basics.t: Don't fail if syslog test takes more than 10s

The syslog test checks if the result is exactly 24281 bytes, but if the
run takes 10s or more, the result is longer.

Generated on Tue Feb 19 12:24:58 2019
Log file: t/fixtures/pg-syslog.1.bz2
Parsed 59,921 log entries in 19s  <-- PROBLEM HERE
Log start from 2019-02-11 13:15:39 to 2019-02-11 13:16:26

5 years agoUpdate ChangeLog and version to 10.3 v10.3
Gilles Darold [Thu, 14 Feb 2019 10:29:41 +0000 (11:29 +0100)]
Update ChangeLog and version to 10.3

5 years agoRemove extra space at end of line.
Gilles Darold [Mon, 11 Feb 2019 13:17:40 +0000 (14:17 +0100)]
Remove extra space at end of line.

5 years agoAdd minimal test to syslog parser.
Gilles Darold [Mon, 11 Feb 2019 13:14:49 +0000 (14:14 +0100)]
Add minimal test to syslog parser.

5 years agoFix a call to autodetect_format().
Gilles Darold [Mon, 11 Feb 2019 12:50:11 +0000 (13:50 +0100)]
Fix a call to autodetect_format().

5 years agoFix statistics reports when there a filter on database, user, client or
Gilles Darold [Sun, 10 Feb 2019 11:01:04 +0000 (12:01 +0100)]
Fix statistics reports when there a filter on database, user, client or
application is requested. Some queries was not reported.

5 years agoMerge branch 'master' of github.com:darold/pgbadger
Gilles Darold [Fri, 8 Feb 2019 10:46:38 +0000 (11:46 +0100)]
Merge branch 'master' of github.com:darold/pgbadger

5 years agoFix autodetection of pg>=10 defauilt log line prefix.
Gilles Darold [Fri, 8 Feb 2019 10:43:34 +0000 (11:43 +0100)]
Fix autodetection of pg>=10 defauilt log line prefix.

5 years agoFix autodetection of log file with "non standard" log line prefix. If
Gilles Darold [Fri, 8 Feb 2019 07:42:30 +0000 (08:42 +0100)]
Fix autodetection of log file with "non standard" log line prefix. If
--prefix specify %t | %m | %n and %p or %c, set format to stderr. Thanks
to Alex Danvy for the report.

5 years agoMerge pull request #471 from madtibo/truncate_error_statement
Gilles Darold [Wed, 23 Jan 2019 15:51:55 +0000 (16:51 +0100)]
Merge pull request #471 from madtibo/truncate_error_statement

Truncate error statement

5 years agotruncate statement when maxlength is used
madtibo [Wed, 23 Jan 2019 13:34:49 +0000 (14:34 +0100)]
truncate statement when maxlength is used

5 years agoeditor config changes
madtibo [Wed, 23 Jan 2019 13:33:08 +0000 (14:33 +0100)]
editor config changes

5 years agoAdd test for multiple output format.
Gilles Darold [Tue, 22 Jan 2019 17:42:40 +0000 (18:42 +0100)]
Add test for multiple output format.

5 years agoThe -o | --outfile option can now be used multiple time to dump
Gilles Darold [Tue, 22 Jan 2019 12:00:00 +0000 (13:00 +0100)]
The -o | --outfile option can now be used multiple time to dump
output in several format in a single command. For example:

  pgbadger -o out.txt -o out.html -o - -x json /log/postgresql-11.log

Here pgbadger will create two reports in text and html format saved
in the two corresponding file. It will also output a json report on
standard output. Thanks to Nikolay for the feature request.

5 years agoMove detection of output format and setting of out filename into a dedicated function...
Gilles Darold [Mon, 21 Jan 2019 12:22:56 +0000 (13:22 +0100)]
Move detection of output format and setting of out filename into a dedicated function set_output_extension().

5 years agoFix another pgBouncer log parsing issue. Thanks to Douglas J Hunley for the report.
Gilles Darold [Sun, 20 Jan 2019 20:30:05 +0000 (21:30 +0100)]
Fix another pgBouncer log parsing issue. Thanks to Douglas J Hunley for the report.

5 years agoUpdate Changelog and version to 10.2 v10.2
Gilles Darold [Thu, 27 Dec 2018 22:54:33 +0000 (23:54 +0100)]
Update Changelog and version to 10.2

5 years agoUpdate usage of pgbadger.
Gilles Darold [Thu, 27 Dec 2018 22:51:11 +0000 (23:51 +0100)]
Update usage of pgbadger.

5 years agoUpdate pgbadger command examples.
Gilles Darold [Thu, 27 Dec 2018 22:40:06 +0000 (23:40 +0100)]
Update pgbadger command examples.

5 years agoAdjust end of progress bar with files with estimate size (bz2 compressed files and...
Gilles Darold [Thu, 27 Dec 2018 22:16:53 +0000 (23:16 +0100)]
Adjust end of progress bar with files with estimate size (bz2 compressed files and remote compressed files.

6 years agoUpdate year in copyright.
Gilles Darold [Sun, 23 Dec 2018 22:11:14 +0000 (23:11 +0100)]
Update year in copyright.

6 years agoAdd information about URI notation to parse remote log files.
Gilles Darold [Sun, 23 Dec 2018 22:07:50 +0000 (23:07 +0100)]
Add information about URI notation to parse remote log files.

6 years agoForce progress to reach 100% at end of parsing of compressed remote file.
Gilles Darold [Sun, 23 Dec 2018 21:52:49 +0000 (22:52 +0100)]
Force progress to reach 100% at end of parsing of compressed remote file.

6 years agoExtract information about PL/pgSQL function call in queries of temporary file reports...
Gilles Darold [Sun, 23 Dec 2018 21:27:30 +0000 (22:27 +0100)]
Extract information about PL/pgSQL function call in queries of temporary file reports. The information is append to the details display block.

6 years agoFix progress bar with csv files.
Gilles Darold [Sun, 23 Dec 2018 16:10:36 +0000 (17:10 +0100)]
Fix progress bar with csv files.

6 years agoFix reading binary file as input file instead of log file.
Gilles Darold [Sat, 22 Dec 2018 22:11:58 +0000 (23:11 +0100)]
Fix reading binary file as input file instead of log file.

6 years agoEncode html output of queries into UTF8 to avoid message "Wide character
Gilles Darold [Fri, 21 Dec 2018 08:21:53 +0000 (09:21 +0100)]
Encode html output of queries into UTF8 to avoid message "Wide character
in print". Thanks to Colin 't Hart for the report.

6 years agoAdd Checkpoints distance key/value for distance peak.
Gilles Darold [Mon, 17 Dec 2018 20:42:04 +0000 (21:42 +0100)]
Add Checkpoints distance key/value for distance peak.

6 years agoFix pgbouncer parsing and request throughput reports. Thanks to Levente Birta for...
Gilles Darold [Sat, 8 Dec 2018 13:05:05 +0000 (14:05 +0100)]
Fix pgbouncer parsing and request throughput reports. Thanks to Levente Birta for the report.

6 years agoFix some typo.
Gilles Darold [Sat, 1 Dec 2018 16:59:15 +0000 (17:59 +0100)]
Fix some typo.

6 years agoFix use of csvlog instead of csv for input format.
Gilles Darold [Sat, 1 Dec 2018 16:58:02 +0000 (17:58 +0100)]
Fix use of csvlog instead of csv for input format.

6 years agoAdd support to http or ftp remote PostgreSQL log file download.
Gilles Darold [Mon, 26 Nov 2018 21:43:59 +0000 (22:43 +0100)]
Add support to http or ftp remote PostgreSQL log file download.
The log file is parsed during the download using curl command
and never saved to disk. With ssh remote log parsing you can use
uri as comand line argument to specify the PostgreSQL log file.

ssh://localhost/postgresql-10-main.log
http://localhost/postgresql-10-main.log.gz
ftp://localhost/postgresql-10-main.log

with http and ftp protocol you need to specify the log file format
at end of the uri:

http://localhost/postgresql-10-main.log:stderr

You can specify multiple uri for log files to be parsed. This is
usefull when you have pgbouncer log file on a remote host and
PostgreSQL logs in the local host.

Old syntax to parse remote log file using -r option is still
working but is obsolete and might be removed in two or three
major versions.

6 years agoAdd support to pgbouncer 1.8 Stats log format. Thanks to Levente Birta for the report.
Gilles Darold [Thu, 15 Nov 2018 17:23:58 +0000 (18:23 +0100)]
Add support to pgbouncer 1.8 Stats log format. Thanks to Levente Birta for the report.

6 years agoAdd warning about parallel processing disabled with csvlog. Thanks to cstdenis for...
Gilles Darold [Fri, 9 Nov 2018 12:40:40 +0000 (13:40 +0100)]
Add warning about parallel processing disabled with csvlog. Thanks to cstdenis for the report.

6 years agoAdd information in usage output about single process forcing with csvlog
Gilles Darold [Fri, 9 Nov 2018 12:17:54 +0000 (13:17 +0100)]
Add information in usage output about single process forcing with csvlog
format in -j and -J options. Thanks to cstdenis for the report.

6 years agoFix unknown line format error for multiline log while incremental analysis over ssh... v9
Gilles Darold [Fri, 19 Oct 2018 13:09:09 +0000 (15:09 +0200)]
Fix unknown line format error for multiline log while incremental analysis over ssh. Thanks to Wooyoung Cho for the report.

6 years agoAdd -k (--insecure) option to curl command to be able to download logs from server...
Gilles Darold [Thu, 18 Oct 2018 08:37:49 +0000 (10:37 +0200)]
Add -k (--insecure) option to curl command to be able to download logs from server using a self signed certificate.

6 years agoAuto adjust javascript graph timezone. Thanks to Massimino Sala for the feature request.
Gilles Darold [Wed, 17 Oct 2018 17:21:23 +0000 (19:21 +0200)]
Auto adjust javascript graph timezone. Thanks to Massimino Sala for the feature request.

6 years agoAdd support to HTTP logfile download by pgBadger, for example:
Gilles Darold [Fri, 12 Oct 2018 09:19:49 +0000 (11:19 +0200)]
Add support to HTTP logfile download by pgBadger, for example:
    /usr/bin/pgbadger http://www.mydom.com/postgresql-10.log
Will parse the file during download using curl command.

6 years agoApply change to README by 0xflotus to source file doc/pgBadger.pod.
Gilles Darold [Thu, 11 Oct 2018 20:30:16 +0000 (22:30 +0200)]
Apply change to README by 0xflotus to source file doc/pgBadger.pod.

6 years agoMerge pull request #448 from 0xflotus/patch-1
Gilles Darold [Thu, 11 Oct 2018 20:28:45 +0000 (22:28 +0200)]
Merge pull request #448 from 0xflotus/patch-1

fixed being

6 years agofixed being
0xflotus [Wed, 10 Oct 2018 23:30:33 +0000 (01:30 +0200)]
fixed being

6 years agoReapply fix missing replacement of bind parameters after some extra code cleaning...
Gilles Darold [Fri, 5 Oct 2018 13:16:09 +0000 (15:16 +0200)]
Reapply fix missing replacement of bind parameters after some extra code cleaning. Thanks to Bernhard J. M. Grun for the report.

6 years agoRevert "Fix missing replacement of bind parameters. Thanks to Bernhard J. M. Grun...
Gilles Darold [Fri, 5 Oct 2018 13:11:04 +0000 (15:11 +0200)]
Revert "Fix missing replacement of bind parameters. Thanks to Bernhard J. M. Grun for the report."

This reverts commit 14fef5ec9bb6be25a657b4199e0764374114a2b7.

6 years agoFix missing replacement of bind parameters. Thanks to Bernhard J. M. Grun for the...
Gilles Darold [Fri, 5 Oct 2018 12:30:18 +0000 (14:30 +0200)]
Fix missing replacement of bind parameters. Thanks to Bernhard J. M. Grun for the report.

6 years agoAdd --exclude-db option to compute report about everything except the specified datab...
Gilles Darold [Tue, 25 Sep 2018 03:52:23 +0000 (05:52 +0200)]
Add --exclude-db option to compute report about everything except the specified database. The option can be used multiple time.

6 years agoRestore Makefile.PL v10.1
Gilles Darold [Thu, 13 Sep 2018 06:35:56 +0000 (08:35 +0200)]
Restore Makefile.PL

6 years agoUpdate ChangelLog and version to 10.1
Gilles Darold [Wed, 12 Sep 2018 19:19:47 +0000 (21:19 +0200)]
Update ChangelLog and version to 10.1

6 years agoUpdate SQL beautifier to v3.1 of pgFormatter.
Gilles Darold [Wed, 12 Sep 2018 19:16:18 +0000 (21:16 +0200)]
Update SQL beautifier to v3.1 of pgFormatter.

6 years agoAdd test on pgbouncer log parser.
Gilles Darold [Wed, 12 Sep 2018 18:55:07 +0000 (20:55 +0200)]
Add test on pgbouncer log parser.

6 years agoSome little performances improvment.
Gilles Darold [Wed, 12 Sep 2018 13:59:20 +0000 (15:59 +0200)]
Some little performances improvment.

6 years agoFix not a valid file descriptor at pgbadger line 12314.
Gilles Darold [Wed, 12 Sep 2018 09:48:57 +0000 (11:48 +0200)]
Fix not a valid file descriptor at pgbadger line 12314.

6 years agoFix unwanted newline in progressbar at startup.
Gilles Darold [Wed, 12 Sep 2018 08:54:56 +0000 (10:54 +0200)]
Fix unwanted newline in progressbar at startup.

6 years agoRemove circleci files from the project.
Gilles Darold [Wed, 12 Sep 2018 08:39:19 +0000 (10:39 +0200)]
Remove circleci files from the project.

6 years agoRemove dependency of bats and jq for the test suite, they are replaced
Gilles Darold [Tue, 11 Sep 2018 21:37:46 +0000 (23:37 +0200)]
Remove dependency of bats and jq for the test suite, they are replaced
with Test::Simple and JSON::XS.

Add more tests especially for incremental mode and input from stdin that
was broken in release 10.0.

Thanks a lot to Etienne Bersac who have initiate the pgbadger test suite
and added the contributing on pgBadger documentation.

6 years agoMerge pull request #435 from credativ/fix-pod
Gilles Darold [Tue, 11 Sep 2018 21:32:53 +0000 (23:32 +0200)]
Merge pull request #435 from credativ/fix-pod

Sync pgbadger, pod, and README, and fix some syntax errors

6 years agoAdd documentation on how to install Perl module JSON::XS from apt and yum repositories.
Gilles Darold [Tue, 11 Sep 2018 21:17:06 +0000 (23:17 +0200)]
Add documentation on how to install Perl module JSON::XS from apt and yum repositories.

6 years agoFix URI for CSS in incremental mode. Thanks to Floris van Nee for the report.
Gilles Darold [Tue, 11 Sep 2018 18:46:26 +0000 (20:46 +0200)]
Fix URI for CSS in incremental mode. Thanks to Floris van Nee for the report.

6 years agoMerge branch 'master' of github.com:darold/pgbadger
Gilles Darold [Tue, 11 Sep 2018 18:27:59 +0000 (20:27 +0200)]
Merge branch 'master' of github.com:darold/pgbadger

6 years agoFix fatal error when looking for log from STDIN. Thanks to Jacek Szpot for the report.
Gilles Darold [Tue, 11 Sep 2018 18:27:08 +0000 (20:27 +0200)]
Fix fatal error when looking for log from STDIN. Thanks to Jacek Szpot for the report.

6 years agoMerge pull request #438 from SteveNewson/osx_sed_support
Gilles Darold [Tue, 11 Sep 2018 15:03:36 +0000 (17:03 +0200)]
Merge pull request #438 from SteveNewson/osx_sed_support

Fixes SED use for OSX builds

6 years agoFixes SED use for OSX builds
Steve Newson [Tue, 11 Sep 2018 14:50:06 +0000 (15:50 +0100)]
Fixes SED use for OSX builds

6 years agoFix illegal division by zero in incrental mode. Thanks to aleszeleny for the report.
Gilles Darold [Mon, 10 Sep 2018 12:59:36 +0000 (14:59 +0200)]
Fix illegal division by zero in incrental mode. Thanks to aleszeleny for the report.

6 years agoSync pgbadger, pod, and README, and fix some syntax errors
Christoph Berg [Mon, 10 Sep 2018 12:01:28 +0000 (14:01 +0200)]
Sync pgbadger, pod, and README, and fix some syntax errors

pgbadger, doc/pgBadger.pod, and README were out of sync. Fix by running
"make", and slight editing of pgbadger when the pod file was more
correct.

Also, the input was using "\" line-continuations which would need to be
\\ for pod to correctly handle them. Fix by formatting as a single line
instead, which is better suitable for cut-and-paste (and there's already
longer lines in the surrounding text). In plus, crontabs do not support \
anyway. In passing, fix +%F crontab example to be +\%F because % is
magic in crontabs.

6 years agoUpdate ChangeLog with last change for v10.0 v10.0
Gilles Darold [Sun, 9 Sep 2018 17:18:14 +0000 (19:18 +0200)]
Update ChangeLog with last change for v10.0

6 years agoReplace SQL::Beautify with v3.0 of pgFormatter::Beautify
Gilles Darold [Sun, 9 Sep 2018 16:52:19 +0000 (18:52 +0200)]
Replace SQL::Beautify with v3.0 of pgFormatter::Beautify

6 years agoFix checkpoint distance and estimate not reported in incremental mode.
Gilles Darold [Sun, 9 Sep 2018 14:56:49 +0000 (16:56 +0200)]
Fix checkpoint distance and estimate not reported in incremental mode.
Thanks to aleszeleny for the report.

6 years agoUpdate Changelog and version to 10.0
Gilles Darold [Sun, 9 Sep 2018 13:10:21 +0000 (15:10 +0200)]
Update Changelog and version to 10.0

6 years agoFix title of pgbouncer simultaneous session report. Thansks yo Jehan Guillaume De...
Gilles Darold [Sun, 2 Sep 2018 15:41:46 +0000 (17:41 +0200)]
Fix title of pgbouncer simultaneous session report. Thansks yo Jehan Guillaume De Rorthais for the report.

6 years agoAdd support of pgbouncer syslog log file format. Thanks to djester for the feature...
Gilles Darold [Sat, 1 Sep 2018 19:28:19 +0000 (21:28 +0200)]
Add support of pgbouncer syslog log file format. Thanks to djester for the feature request.

6 years agoFix error when a remote log is empty. Thanks to Parasit Hendersson for the report.
Gilles Darold [Sat, 1 Sep 2018 12:33:13 +0000 (14:33 +0200)]
Fix error when a remote log is empty. Thanks to Parasit Hendersson for the report.

6 years agoAdd support to all auto_explain format (text, xml, json and yaml).
Gilles Darold [Sat, 1 Sep 2018 11:27:26 +0000 (13:27 +0200)]
Add support to all auto_explain format (text, xml, json and yaml).

6 years agoFix test with binary format. Binary file must be generated as it is dependent of...
Gilles Darold [Sat, 1 Sep 2018 08:39:00 +0000 (10:39 +0200)]
Fix test with binary format. Binary file must be generated as it is dependent of the plateform. Thanks to Michal Nowak for the report.

6 years agoFix case where an empty explain plan is generated.
Gilles Darold [Thu, 30 Aug 2018 23:20:24 +0000 (01:20 +0200)]
Fix case where an empty explain plan is generated.

6 years agoFix parsing of autodetected default format with a prefix in command line.
Gilles Darold [Thu, 30 Aug 2018 21:40:29 +0000 (23:40 +0200)]
Fix parsing of autodetected default format with a prefix in command line.

6 years agoRemove dependency of git command.
Gilles Darold [Thu, 30 Aug 2018 09:43:27 +0000 (11:43 +0200)]
Remove dependency of git command.

6 years agoUpdate documentation about options changes and remove of the [%l-1] part of the manda...
Gilles Darold [Thu, 30 Aug 2018 09:40:10 +0000 (11:40 +0200)]
Update documentation about options changes and remove of the [%l-1] part of the mandatory prefix.

6 years agoList of changes in this commit:
Gilles Darold [Thu, 30 Aug 2018 09:11:13 +0000 (11:11 +0200)]
List of changes in this commit:

  - Fix parsing of vacuum / analyze system usage for PostgreSQL 10.
    Thanks to Achilleas Mantzios for the patch.
  - Fix Temporary File Activity table.
  - Remove dependency to git during install.
  - Add support to auto_explain json output format. Thanks to dmius
    for the report.
  - Fix auto_explain parser and queries that was counted twice.
    Thanks to zam6ak for the report.
  - Add support to %q placeholder in log_line_prefix.
  - Fix checkpoint regex to match PostgreSQL 10 log messages. Thanks
    to Edmund Horner for the patch.
  - Update description of -f | --format option by adding information
    about jsonlog format.
  - Fix wrong long name for option -J that should be --Jobs intead
    of --job_per_file. Thanks to Chad Trabant for the report.
  - Add jsonlog input format. Some users are using the jsonlog format
    of Michael Paquier extension, with -f jsonlog pgbadger will be
    able to parse the log.
  - Fix query normalisation to not duplicate with bind queries.
    Normalisation of values are now tranformed into a single ? and no
    more 0 for numbers, two single quote for string. Thanks to vadv
    for the report.
  - Fix log level count. Thanks to Jean-Christophe Arnu for the report.
  - Make pgbadger more compliant with B::Lint bare sub name.
  - Made perlcritic happy.
  - Add --prettify-json command line option to prettify JSON output.
    Default output is all in single line.
  - Fix Events distribution report.
  - Fix bug with --prefix when log_line_prefix contain multiple %%.
    Thanks to svb007 for the report.
  - Add --log-timezone  +/-XX  command line option to set the number
    of hours from GMT of the timezone that must be used to adjust
    date/time read from log file before beeing parsed. Using this
    option make more difficult log search with a date/time because the
    time will not be the same in the log. Note that you might still
    need to adjust the graph timezone using -Z when the client has not
    the same timezone. Thanks to xdexter for the feature request.
  - Apply timezone to bar chart in pgBouncer reports.
  - Apply timezone to bar chart in Top queries reports.
  - Apply timezone to bar chart in Most frequent errors/events report.
  - Remove INDEXES from the keyword list and add BUFFERS to this list.
  - Fix normalization of query using cursors.

6 years agoRemove Dockerfile and documentation about docker run. pgBadger comes as
Gilles Darold [Tue, 28 Aug 2018 20:44:26 +0000 (22:44 +0200)]
Remove Dockerfile and documentation about docker run. pgBadger comes as
a single Perl script without any dependence and it can be used on any
plateform. It is a non sens to use docker to run pgbadger, if you don't
want to install anything, just copy the file pgbadger where you want and
execute it.

6 years agoThe badger is back to home, modify all links to new URLs
Gilles Darold [Tue, 28 Aug 2018 14:51:00 +0000 (16:51 +0200)]
The badger is back to home, modify all links to new URLs
   - Web site: http://pgbadger.darold.net
   - Source code: https://github.com/darold/pgbadger
Change copyright year and name.

6 years agoThe badger is back to home, modify all links to new URLs
Gilles Darold [Tue, 28 Aug 2018 14:46:58 +0000 (16:46 +0200)]
The badger is back to home, modify all links to new URLs
  - Web site: http://pgbadger.darold.net
  - Source code: https://github.com/darold/pgbadger
Change copyright year and name.

6 years agoMerge pull request #423 from pgiraud/tfa_grid
Gilles Darold [Mon, 25 Jun 2018 21:12:40 +0000 (23:12 +0200)]
Merge pull request #423 from pgiraud/tfa_grid

Fix broken grid when no temp files activity

6 years agoFix broken grid when no temp files activity
Pierre GIRAUD [Thu, 21 Jun 2018 14:24:57 +0000 (16:24 +0200)]
Fix broken grid when no temp files activity

Fixes #422

6 years agoMerge pull request #419 from julmon/fix_374_bis
Gilles Darold [Wed, 13 Jun 2018 14:05:22 +0000 (16:05 +0200)]
Merge pull request #419 from julmon/fix_374_bis

Add doc warning about log_MDS vs log_D + log_S

6 years agoAdd doc warning about log_MDS vs log_D + log_S
Julien Tachoires [Wed, 13 Jun 2018 13:32:02 +0000 (15:32 +0200)]
Add doc warning about log_MDS vs log_D + log_S

6 years agoMerge pull request #416 from julmon/fix_375
Gilles Darold [Tue, 12 Jun 2018 16:35:52 +0000 (18:35 +0200)]
Merge pull request #416 from julmon/fix_375

g modifier usage when unescaping log_line_prefix

6 years agog modifier usage when unescaping log_line_prefix
Julien Tachoires [Tue, 12 Jun 2018 16:15:01 +0000 (18:15 +0200)]
g modifier usage when unescaping log_line_prefix

6 years agoMerge pull request #414 from julmon/fix_352
Gilles Darold [Tue, 12 Jun 2018 12:00:49 +0000 (14:00 +0200)]
Merge pull request #414 from julmon/fix_352

Apply timezone offset to bar charts

6 years agoMerge pull request #415 from julmon/fix_358
Gilles Darold [Tue, 12 Jun 2018 12:00:26 +0000 (14:00 +0200)]
Merge pull request #415 from julmon/fix_358

Delete current temp file info if we meet an error for the same PID