]> granicus.if.org Git - pgbadger/log
pgbadger
7 years agoRevert "Use an isolated tmpdir"
Étienne BERSAC [Thu, 21 Sep 2017 07:34:40 +0000 (09:34 +0200)]
Revert "Use an isolated tmpdir"

This reverts commit 692cc4a52ea19d4b52f0db53931f5c5594a640ab.

7 years agoMerge pull request #371 from bersace/help
Étienne BERSAC [Thu, 21 Sep 2017 10:24:21 +0000 (12:24 +0200)]
Merge pull request #371 from bersace/help

Update synopsis from --help in pod

7 years agoFix outdated README and .pod WRT --help
Étienne BERSAC [Thu, 21 Sep 2017 09:44:48 +0000 (11:44 +0200)]
Fix outdated README and .pod WRT --help

7 years agoUpdate synopsis from --help in pod
Étienne BERSAC [Thu, 21 Sep 2017 09:41:16 +0000 (11:41 +0200)]
Update synopsis from --help in pod

7 years agoMerge pull request #369 from bersace/tmp
Étienne BERSAC [Wed, 20 Sep 2017 13:56:36 +0000 (15:56 +0200)]
Merge pull request #369 from bersace/tmp

Use an isolated tmpdir

7 years agoUse an isolated tmpdir
Étienne BERSAC [Wed, 20 Sep 2017 09:36:19 +0000 (11:36 +0200)]
Use an isolated tmpdir

7 years agoMerge pull request #365 from bersace/exclude
Étienne BERSAC [Wed, 20 Sep 2017 07:36:14 +0000 (09:36 +0200)]
Merge pull request #365 from bersace/exclude

Regression test for binary to JSON

7 years agoAdd regression test from bin to JSON
Étienne BERSAC [Wed, 20 Sep 2017 07:34:48 +0000 (09:34 +0200)]
Add regression test from bin to JSON

7 years agoInstaller le client SSH seulement
Étienne BERSAC [Wed, 20 Sep 2017 07:34:48 +0000 (09:34 +0200)]
Installer le client SSH seulement

7 years agoRun test in verbose mode in CI
Étienne BERSAC [Wed, 20 Sep 2017 07:34:48 +0000 (09:34 +0200)]
Run test in verbose mode in CI

7 years agoClean out.html before testing generation
Étienne BERSAC [Wed, 20 Sep 2017 07:34:48 +0000 (09:34 +0200)]
Clean out.html before testing generation

7 years agoLint help test title
Étienne BERSAC [Wed, 20 Sep 2017 07:34:48 +0000 (09:34 +0200)]
Lint help test title

7 years agoAdd editor hint for test scripts
Étienne BERSAC [Wed, 20 Sep 2017 07:34:48 +0000 (09:34 +0200)]
Add editor hint for test scripts

7 years agoMerge pull request #366 from bersace/editorconfig
Étienne BERSAC [Wed, 20 Sep 2017 07:34:25 +0000 (09:34 +0200)]
Merge pull request #366 from bersace/editorconfig

Add editorconfig configuration

7 years agoAdd editorconfig configuration
Étienne BERSAC [Tue, 19 Sep 2017 14:42:22 +0000 (16:42 +0200)]
Add editorconfig configuration

7 years agoMerge pull request #368 from bersace/pod
Étienne BERSAC [Wed, 20 Sep 2017 07:29:40 +0000 (09:29 +0200)]
Merge pull request #368 from bersace/pod

Check README

7 years agoUpdate README and pod
Étienne BERSAC [Wed, 20 Sep 2017 07:08:34 +0000 (09:08 +0200)]
Update README and pod

7 years agoAdd a job to check README
Étienne BERSAC [Wed, 20 Sep 2017 07:03:19 +0000 (09:03 +0200)]
Add a job to check README

7 years agoClean trailing new line
Étienne BERSAC [Wed, 20 Sep 2017 06:54:23 +0000 (08:54 +0200)]
Clean trailing new line

7 years agoAdd README target
Étienne BERSAC [Wed, 20 Sep 2017 06:54:12 +0000 (08:54 +0200)]
Add README target

7 years agoIgnore Makefile.PL generated files
Étienne BERSAC [Wed, 20 Sep 2017 06:43:43 +0000 (08:43 +0200)]
Ignore Makefile.PL generated files

7 years agoDrop vi temp files from gitignore
Étienne BERSAC [Wed, 20 Sep 2017 06:42:20 +0000 (08:42 +0200)]
Drop vi temp files from gitignore

Please use you very own global gitignore if you use vi.

7 years agoMerge pull request #364 from bersace/tap
Étienne BERSAC [Fri, 8 Sep 2017 08:15:15 +0000 (10:15 +0200)]
Merge pull request #364 from bersace/tap

Check pod syntax

7 years agoMerge pull request #357 from wesleybowman/master
Étienne BERSAC [Fri, 8 Sep 2017 08:13:52 +0000 (10:13 +0200)]
Merge pull request #357 from wesleybowman/master

Add --include-time option

7 years agoAdd --include-time option
Wesley Bowman [Tue, 22 Aug 2017 06:28:42 +0000 (08:28 +0200)]
Add --include-time option

This adds the ability to choose times that you want to see, instead of
excluding all the times you do not want to see. This is handy when
wanting to view only one or two days from a week's worth of logs
(simplifies down from multiple --exlucde-time options to one
--include-time)

Update the documentation & remove double negative

7 years agoCheck pod syntax
Étienne BERSAC [Fri, 8 Sep 2017 07:30:07 +0000 (09:30 +0200)]
Check pod syntax

7 years agoMerge pull request #363 from bersace/tap
Étienne BERSAC [Fri, 8 Sep 2017 07:28:31 +0000 (09:28 +0200)]
Merge pull request #363 from bersace/tap

Add regular test suite

7 years agoAdd HACKING to document tests
Étienne BERSAC [Thu, 7 Sep 2017 14:32:49 +0000 (16:32 +0200)]
Add HACKING to document tests

7 years agoAdd light log tests
Étienne BERSAC [Thu, 7 Sep 2017 14:26:27 +0000 (16:26 +0200)]
Add light log tests

7 years agoMove to prove to run tests
Étienne BERSAC [Thu, 7 Sep 2017 14:20:35 +0000 (16:20 +0200)]
Move to prove to run tests

7 years agoMerge pull request #362 from bersace/ci
Étienne BERSAC [Thu, 7 Sep 2017 11:52:52 +0000 (13:52 +0200)]
Merge pull request #362 from bersace/ci

Add CircleCI job

7 years agoMerge pull request #361 from bersace/drop-bar
Étienne BERSAC [Thu, 7 Sep 2017 08:13:41 +0000 (10:13 +0200)]
Merge pull request #361 from bersace/drop-bar

Drop --bar-graph option

7 years agoMerge pull request #360 from bersace/tidy
Étienne BERSAC [Wed, 6 Sep 2017 16:00:10 +0000 (18:00 +0200)]
Merge pull request #360 from bersace/tidy

Drop misleading .perltidyrc

7 years agoAdd CircleCI job
Étienne BERSAC [Wed, 6 Sep 2017 14:49:10 +0000 (16:49 +0200)]
Add CircleCI job

7 years agoDrop --bar-graph option
Étienne BERSAC [Wed, 6 Sep 2017 13:49:36 +0000 (15:49 +0200)]
Drop --bar-graph option

7 years agoDrop misleading .perltidyrc
Étienne BERSAC [Wed, 6 Sep 2017 13:32:56 +0000 (15:32 +0200)]
Drop misleading .perltidyrc

This file date from 2012 and pgbadger code is far from compliant. perltidy
unified diff is 10k lines. Let's drop this.

7 years agoMerge pull request #355 from jpargudo/master
Gilles Darold [Fri, 11 Aug 2017 15:27:55 +0000 (17:27 +0200)]
Merge pull request #355 from jpargudo/master

https://github.com/dalibo/pgbadger/issues/353

7 years agohttps://github.com/dalibo/pgbadger/issues/353
Jean-Paul Argudo [Fri, 11 Aug 2017 11:31:24 +0000 (13:31 +0200)]
https://github.com/dalibo/pgbadger/issues/353

7 years agoUpdate Changelog and version to 9.2 v9.2
Gilles Darold [Fri, 28 Jul 2017 11:45:06 +0000 (13:45 +0200)]
Update Changelog and version to 9.2

7 years agoRemove this logo that has nothing to do here.
Gilles Darold [Thu, 27 Jul 2017 14:37:51 +0000 (16:37 +0200)]
Remove this logo that has nothing to do here.

7 years agoadd banner file
leorenc [Wed, 19 Jul 2017 09:22:06 +0000 (11:22 +0200)]
add banner file

7 years agoAdd report of checkpoint distance and estimate. Thanks to jjsantam for the feature...
Darold Gilles [Sun, 11 Jun 2017 15:58:44 +0000 (17:58 +0200)]
Add report of checkpoint distance and estimate. Thanks to jjsantam for the feature request.

7 years agoAppend more information on what is done by script tools/updt_embedded_rsc.pl.
Gilles Darold [Thu, 25 May 2017 21:15:02 +0000 (23:15 +0200)]
Append more information on what is done by script tools/updt_embedded_rsc.pl.

7 years agoDo not warn when all log files are empty and exit with code 0.
Gilles Darold [Tue, 23 May 2017 08:05:15 +0000 (10:05 +0200)]
Do not warn when all log files are empty and exit with code 0.

7 years agoFix build_log_line_prefix_regex() that does not include %n as a lookup in %regex_map...
Gilles Darold [Wed, 26 Apr 2017 22:22:07 +0000 (00:22 +0200)]
Fix build_log_line_prefix_regex() that does not include %n as a lookup in %regex_map. Thanks to ghosthound for the patch.

7 years agoMerge branch 'master' of github.com:dalibo/pgbadger
Gilles Darold [Wed, 26 Apr 2017 22:19:31 +0000 (00:19 +0200)]
Merge branch 'master' of github.com:dalibo/pgbadger

7 years agoChange error level of "FATAL: cannot use CSV" to WARNING. Thanks to kong1man for...
Darold Gilles [Mon, 24 Apr 2017 07:54:33 +0000 (09:54 +0200)]
Change error level of "FATAL: cannot use CSV" to WARNING. Thanks to kong1man for the report.

7 years agoFix use of uninitialized value warning. Thanks to Payal for the report.
Gilles Darold [Thu, 13 Apr 2017 15:45:01 +0000 (17:45 +0200)]
Fix use of uninitialized value warning. Thanks to Payal for the report.

7 years agoAdd permission denied to error normalization
Gilles Darold [Mon, 10 Apr 2017 15:52:29 +0000 (17:52 +0200)]
Add permission denied to error normalization

7 years agoUpdate pgbadger to latest commit 5bdc018 of pgFormatter.
Gilles Darold [Wed, 22 Mar 2017 21:34:02 +0000 (22:34 +0100)]
Update pgbadger to latest commit 5bdc018 of pgFormatter.

7 years agoAdd support for AWS Redshift keywords. Thanks to cavanaug for the feature request.
Gilles Darold [Tue, 21 Mar 2017 11:21:50 +0000 (12:21 +0100)]
Add support for AWS Redshift keywords. Thanks to cavanaug for the feature request.

7 years agoFix missing query in temporary file report when the query was canceled. Thanks to...
Gilles Darold [Thu, 16 Mar 2017 22:26:42 +0000 (23:26 +0100)]
Fix missing query in temporary file report when the query was canceled. Thanks to Fabrizio de Royes Mello for the report.

7 years agoNormalize query with binded parameters, they are replaced with a ?.
Darold Gilles [Thu, 9 Mar 2017 19:03:14 +0000 (20:03 +0100)]
Normalize query with binded parameters, they are replaced with a ?.

7 years agoMerge pull request #338 from Krysztophe/from_to_sanitycheck.cc
Darold [Thu, 9 Mar 2017 18:56:25 +0000 (19:56 +0100)]
Merge pull request #338 from Krysztophe/from_to_sanitycheck.cc

Sanity check to avoid end time before start time

7 years agoSanity check to avoid end time before start time
Christophe Courtois [Thu, 9 Mar 2017 18:35:18 +0000 (19:35 +0100)]
Sanity check to avoid end time before start time

7 years agoMerge pull request #335 from eulerto/fixes
Darold [Thu, 2 Mar 2017 14:36:21 +0000 (15:36 +0100)]
Merge pull request #335 from eulerto/fixes

Fixes

7 years agoFix a bunch of typos and do some cosmetic modifications
Euler Taveira [Thu, 2 Mar 2017 13:19:10 +0000 (10:19 -0300)]
Fix a bunch of typos and do some cosmetic modifications

Fix a lot of mystyped words and do some grammatical fixes. Use
'pgBadger' where it refers to the program and not the binary file.
Also, use "official" expressions such as PgBouncer, GitHub, and CSS. POD
file was synced with README.

7 years agoMenu is broken when --disable-type
Euler Taveira [Thu, 2 Mar 2017 04:22:38 +0000 (01:22 -0300)]
Menu is broken when --disable-type

top_cancelled_info test and closing list must be inside disable_type
test.

While in it, ident disable_lock test.

7 years agoFix use of uninitialized value at line 14371. Thanks to johnkrugger for the report.
Gilles Darold [Fri, 24 Feb 2017 19:02:16 +0000 (20:02 +0100)]
Fix use of uninitialized value at line 14371. Thanks to johnkrugger for the report.

7 years agoFix again last patch
Gilles Darold [Wed, 15 Feb 2017 18:04:01 +0000 (19:04 +0100)]
Fix again last patch

7 years agoFix previous commit
Gilles Darold [Wed, 15 Feb 2017 17:56:01 +0000 (18:56 +0100)]
Fix previous commit

7 years agoRemove test to read log file during log format auto-detection when the file is hosted...
Gilles Darold [Wed, 15 Feb 2017 17:54:35 +0000 (18:54 +0100)]
Remove test to read log file during log format auto-detection when the file is hosted remotly. Thanks to clomdd for the report.

7 years agoAdd autodetection of log format in remote mode to allow remote parsing of pgbouncer...
Darold Gilles [Fri, 10 Feb 2017 11:51:38 +0000 (12:51 +0100)]
Add autodetection of log format in remote mode to allow remote parsing of pgbouncer log file together with PostgreSQL log file.

7 years agoFix number of sessions wrongly increasing after log line validation. Thanks to Achill...
Darold Gilles [Mon, 6 Feb 2017 13:28:25 +0000 (14:28 +0100)]
Fix number of sessions wrongly increasing after log line validation. Thanks to Achilleas Mantzios for the report.

7 years agoMinor reformatting of the pgBadger Description.
Gilles Darold [Wed, 1 Feb 2017 22:31:02 +0000 (23:31 +0100)]
Minor reformatting of the pgBadger Description.

7 years agoMerge pull request #329 from cscatolini/master
Darold [Wed, 1 Feb 2017 22:29:11 +0000 (23:29 +0100)]
Merge pull request #329 from cscatolini/master

Fix repeated info in README and doc.

7 years agoFix repeated info in README and doc.
cscatolini [Wed, 1 Feb 2017 21:57:19 +0000 (19:57 -0200)]
Fix repeated info in README and doc.

7 years agoFix reports with histogram that was not showing data upper than the last range.
Gilles Darold [Sat, 28 Jan 2017 19:04:30 +0000 (20:04 +0100)]
Fix reports with histogram that was not showing data upper than the last range.

7 years agoFix parsing of journalctl without the the log line number pattern ([%l-n]). Thanks...
Gilles Darold [Sat, 28 Jan 2017 17:52:50 +0000 (18:52 +0100)]
Fix parsing of journalctl without the the log line number pattern ([%l-n]). Thanks to Christian Schmitt for the report.

7 years agoUpdate ChangeLog and version to 9.1 v9.1
Gilles Darold [Tue, 24 Jan 2017 12:33:46 +0000 (13:33 +0100)]
Update ChangeLog and version to 9.1

7 years agoAdd new error class report to documentation.
Gilles Darold [Tue, 24 Jan 2017 12:00:15 +0000 (13:00 +0100)]
Add new error class report to documentation.

7 years agoAdd report of error class distribution when SQLState is available in the log line...
Gilles Darold [Tue, 24 Jan 2017 11:58:22 +0000 (12:58 +0100)]
Add report of error class distribution when SQLState is available in the log line prefix. Thanks to jacks33 for the feature request.

7 years agoUpdate copyright to 2017.
Gilles Darold [Tue, 24 Jan 2017 08:07:10 +0000 (09:07 +0100)]
Update copyright to 2017.

7 years agoFix incremental global index on resize. Thanks to clomdd for the report.
Gilles Darold [Mon, 23 Jan 2017 16:06:45 +0000 (17:06 +0100)]
Fix incremental global index on resize. Thanks to clomdd for the report.

7 years agoUpdate SQL Beautifier to pgFormatter v1.6 code.
Gilles Darold [Mon, 23 Jan 2017 14:47:20 +0000 (15:47 +0100)]
Update SQL Beautifier to pgFormatter v1.6 code.

7 years agoFix command tag log_line_prefix placeholder %i to allow space character.
Gilles Darold [Mon, 9 Jan 2017 13:08:44 +0000 (14:08 +0100)]
Fix command tag log_line_prefix placeholder %i to allow space character.

7 years agoSome other error message normalization improvement.
Gilles Darold [Wed, 4 Jan 2017 17:24:47 +0000 (18:24 +0100)]
Some other error message normalization improvement.

7 years agoImprove error message normalization.
Gilles Darold [Wed, 4 Jan 2017 16:50:26 +0000 (17:50 +0100)]
Improve error message normalization.

7 years agoFix huge performance lost introduced with patch on explain plan parser.
Gilles Darold [Wed, 4 Jan 2017 12:31:34 +0000 (13:31 +0100)]
Fix huge performance lost introduced with patch on explain plan parser.

7 years agoFix --exclude-line options and removing of obsolete directory when retention is enabl...
Gilles Darold [Mon, 2 Jan 2017 22:23:41 +0000 (23:23 +0100)]
Fix --exclude-line options and removing of obsolete directory when retention is enabled and --noreport is used.

7 years agoFix normalization of error message: cannot drop table ...
Gilles Darold [Mon, 2 Jan 2017 09:32:39 +0000 (10:32 +0100)]
Fix normalization of error message: cannot drop table ...

7 years agoFix typo in previous pull request.
Darold Gilles [Fri, 30 Dec 2016 15:24:10 +0000 (16:24 +0100)]
Fix typo in previous pull request.

7 years agoMerge pull request #320 from ng-pe/master
Darold [Fri, 30 Dec 2016 15:23:15 +0000 (16:23 +0100)]
Merge pull request #320 from ng-pe/master

Fix autovacuum report

7 years agofix typo in "vacuum activity table"
Nicolas GOLLET [Wed, 28 Dec 2016 11:05:36 +0000 (12:05 +0100)]
fix typo in "vacuum activity table"
change "Back to the top of the Temporary Files Activity table" to "Back to the top of the Autovacuum Activity table"

7 years agoFix autovacuum report :
Nicolas GOLLET [Wed, 28 Dec 2016 09:14:21 +0000 (10:14 +0100)]
Fix autovacuum report :
  - fix autovacuum statistic (empty graph) : parsing regex add 'optional' tabulation
  - fix some labels in vacuum graph caption.

8 years agoMerge pull request #319 from madtibo/master
Darold [Fri, 16 Dec 2016 08:54:31 +0000 (09:54 +0100)]
Merge pull request #319 from madtibo/master

logo is from Damien Cazeils (and english in comments is better)

8 years agologo is from Damien Cazeils (and english in comments is better)
Thibaut [Thu, 15 Dec 2016 16:42:09 +0000 (17:42 +0100)]
logo is from Damien Cazeils (and english in comments is better)

8 years agoAdd information about pgbouncer log format in the -f option. Thanks to clomdd for...
Gilles Darold [Wed, 7 Dec 2016 23:31:03 +0000 (00:31 +0100)]
Add information about pgbouncer log format in the -f option. Thanks to clomdd for the report.

8 years agoAdd --normalized-only information in documentation.
Gilles Darold [Tue, 6 Dec 2016 20:18:46 +0000 (21:18 +0100)]
Add --normalized-only information in documentation.

8 years ago- Fix broken report of date-time introduced in previous patch.
Gilles Darold [Tue, 6 Dec 2016 20:13:44 +0000 (21:13 +0100)]
- Fix broken report of date-time introduced in previous patch.

- Add --normalized-only option to generate a text report of all
  normalized queries found in a log with count.

8 years agoFix duration/query association when log_duration=on and log_statement=all. Thanks...
Gilles Darold [Tue, 6 Dec 2016 18:29:54 +0000 (19:29 +0100)]
Fix duration/query association when log_duration=on and log_statement=all. Thanks to Eric Jensen for the report.

8 years agoFix normalization of messages about advisory lock. Thanks to Thibaut Madelaine for...
Gilles Darold [Tue, 6 Dec 2016 15:08:07 +0000 (16:08 +0100)]
Fix normalization of messages about advisory lock. Thanks to Thibaut Madelaine for the report.

8 years agoMerge branch 'master' of github.com:dalibo/pgbadger
Gilles Darold [Tue, 6 Dec 2016 14:34:13 +0000 (15:34 +0100)]
Merge branch 'master' of github.com:dalibo/pgbadger

8 years agoFix report of auto_explain output. Thanks to fch77700 for the report.
Darold Gilles [Sat, 26 Nov 2016 10:05:24 +0000 (11:05 +0100)]
Fix report of auto_explain output. Thanks to fch77700 for the report.

8 years agoFix unwanted log format autodetection with log entry from stdin. Thanks to Jesus...
Gilles Darold [Fri, 4 Nov 2016 09:05:53 +0000 (10:05 +0100)]
Fix unwanted log format autodetection with log entry from stdin. Thanks to Jesus Adolfo Parra for the report.

8 years agoMerge pull request #310 from dynjnelson/master
Darold [Thu, 27 Oct 2016 21:56:30 +0000 (23:56 +0200)]
Merge pull request #310 from dynjnelson/master

fix a spelling error and add open left paren to the stop for regex_prefix_dbclient

8 years agoadd left open parentheses to the "stop" chars of regex_prefix_dbclient
Jon Nelson [Thu, 27 Oct 2016 15:41:23 +0000 (10:41 -0500)]
add left open parentheses to the "stop" chars of regex_prefix_dbclient
  to handle the postgresql client string format that includes source port

8 years agofix speling error of Temporay -> Temporary
Jon Nelson [Thu, 27 Oct 2016 15:40:36 +0000 (10:40 -0500)]
fix speling error of Temporay -> Temporary

8 years agoAllow %c (session id) to replace %p (pid) as unique session id. Thanks to Jerryliuk...
Gilles Darold [Thu, 20 Oct 2016 08:45:01 +0000 (10:45 +0200)]
Allow %c (session id) to replace %p (pid) as unique session id. Thanks to Jerryliuk for the report.

8 years agoAllow pgbadger to parse default log_line_prefix that will be used in 10.0: '%m [...
Gilles Darold [Wed, 19 Oct 2016 16:25:06 +0000 (18:25 +0200)]
Allow pgbadger to parse default log_line_prefix that will be used in 10.0: '%m [%p] '