]> granicus.if.org Git - pgbadger/log
pgbadger
12 years agoChange project url to http://dalibo.github.com/pgbadger/
Darold Gilles [Wed, 12 Sep 2012 13:35:30 +0000 (15:35 +0200)]
Change project url to http://dalibo.github.com/pgbadger/

12 years agoFix lot of issues in CSV parser and force locale to be C. Thanks to Casey Allen Shobe...
Darold Gilles [Wed, 12 Sep 2012 13:22:06 +0000 (15:22 +0200)]
Fix lot of issues in CSV parser and force locale to be C. Thanks to Casey Allen Shobe for the reports.

12 years agoMerge branch 'master' of github.com:dalibo/pgbadger
Darold Gilles [Tue, 11 Sep 2012 12:58:24 +0000 (14:58 +0200)]
Merge branch 'master' of github.com:dalibo/pgbadger

12 years agoImprove speed with custom log_line_prefix
Darold Gilles [Tue, 11 Sep 2012 12:57:43 +0000 (14:57 +0200)]
Improve speed with custom log_line_prefix

12 years agoMerge pull request #26 from elementalvoid/helpdoc-fix
Darold [Tue, 11 Sep 2012 08:20:00 +0000 (01:20 -0700)]
Merge pull request #26 from elementalvoid/helpdoc-fix

Fixed help text for --exclude-file

12 years agoFixed help text for --exclude-file
Matt Klich [Mon, 10 Sep 2012 17:14:35 +0000 (11:14 -0600)]
Fixed help text for --exclude-file

Old help text indicated the option name was --exclude_text which was
incorrect.

12 years agoRemove the obsolete --regex-user and --regex-db options that was used to specify...
Darold [Mon, 10 Sep 2012 07:14:57 +0000 (09:14 +0200)]
Remove the obsolete --regex-user and --regex-db options that was used to specify a search pattern in the log_line_prefix to find the user and db name. This is replaced by the --prefix option

12 years agoAdd -c|--client and -N|--name to limit report to the given client hostname and/or...
Darold [Mon, 10 Sep 2012 06:34:54 +0000 (08:34 +0200)]
Add -c|--client and -N|--name to limit report to the given client hostname and/or the application name

12 years agoReplace Time column report header by Hour
Darold [Sun, 9 Sep 2012 10:28:11 +0000 (12:28 +0200)]
Replace Time column report header by Hour

12 years agoFix another issue in log_line_prefix parser with stderr format
Darold [Sun, 9 Sep 2012 10:04:46 +0000 (12:04 +0200)]
Fix another issue in log_line_prefix parser with stderr format

12 years agoAdd a more complex example using log_line_prefix
Darold [Sun, 9 Sep 2012 09:24:11 +0000 (11:24 +0200)]
Add a more complex example using log_line_prefix

12 years agoFix log_line_prefix issue using timepstamp with millisecond
Darold [Sun, 9 Sep 2012 09:20:12 +0000 (11:20 +0200)]
Fix log_line_prefix issue using timepstamp with millisecond

12 years agoAdd support to use any custom log_line_prefix with new option -p | --prefix. See...
Darold Gilles [Fri, 7 Sep 2012 22:45:04 +0000 (00:45 +0200)]
Add support to use any custom log_line_prefix with new option -p | --prefix. See README for an example.

12 years agoFix false autodetection of CSV format when log_statement is enable or in possible...
Darold Gilles [Thu, 6 Sep 2012 13:38:12 +0000 (15:38 +0200)]
Fix false autodetection of CSV format when log_statement is enable or in possible other cases. This was resulting in error: "FATAL: cannot use CSV". Thanks to Thomas Reiss for the report.

12 years agoFix display of empty graph of connections per seconds
Darold Gilles [Thu, 6 Sep 2012 13:30:13 +0000 (15:30 +0200)]
Fix display of empty graph of connections per seconds

12 years agoAllow character : in log line prefix, it will no more break the log parsing. Thanks...
Darold Gilles [Wed, 29 Aug 2012 07:58:50 +0000 (09:58 +0200)]
Allow character : in log line prefix, it will no more break the log parsing. Thanks to John Rouillard for the report

12 years agoAdd report of configuration parameter changes into the errors report and change error...
Darold Gilles [Wed, 29 Aug 2012 07:42:26 +0000 (09:42 +0200)]
Add report of configuration parameter changes into the errors report and change errors report by events report to handle important messages that are not errors.

12 years agoAllow pgbadger to recognize " autovacuum launcher" messages.
Darold Gilles [Wed, 29 Aug 2012 06:59:48 +0000 (08:59 +0200)]
Allow pgbadger to recognize " autovacuum launcher" messages.

12 years agoUpdate version to 2.0
Darold Gilles [Tue, 21 Aug 2012 16:32:19 +0000 (18:32 +0200)]
Update version to 2.0

12 years agoUpdate Changelog
Darold Gilles [Tue, 21 Aug 2012 16:28:50 +0000 (18:28 +0200)]
Update Changelog

12 years agoFix 0 size README
Darold Gilles [Tue, 21 Aug 2012 15:56:16 +0000 (17:56 +0200)]
Fix 0 size README

12 years agoAdd documentation about -P (--no-prettify) command line option to disable the SQL...
Darold Gilles [Tue, 21 Aug 2012 15:38:17 +0000 (17:38 +0200)]
Add documentation about -P (--no-prettify) command line option to disable the SQL format beautifier

12 years agoChange license from BSD like to PostgreSQL license
Darold Gilles [Tue, 21 Aug 2012 15:25:52 +0000 (17:25 +0200)]
Change license from BSD like to PostgreSQL license

12 years agoFix wrong pointer on Connections per host menu.
Darold Gilles [Tue, 21 Aug 2012 10:00:33 +0000 (12:00 +0200)]
Fix wrong pointer on Connections per host menu.

12 years agoMerge pull request #23 from rjuju/master
Darold [Tue, 21 Aug 2012 09:38:50 +0000 (02:38 -0700)]
Merge pull request #23 from rjuju/master

Small fix for sql formatting

12 years agoFix sql formatting, adding scrollbars
Julien Rouhaud [Tue, 21 Aug 2012 09:21:56 +0000 (11:21 +0200)]
Fix sql formatting, adding scrollbars

12 years agoAdd SQL formater on SQL queries. When you will click on a query it will be beautified
Darold Gilles [Tue, 21 Aug 2012 08:11:06 +0000 (10:11 +0200)]
Add SQL formater on SQL queries. When you will click on a query it will be beautified

12 years agoRemove option -g and -p to the documentation.
Darold Gilles [Mon, 20 Aug 2012 13:43:27 +0000 (15:43 +0200)]
Remove option -g and -p to the documentation.

12 years agoThe progress bar is now enabled by default, the -p option has been removed. Use ...
Darold Gilles [Tue, 14 Aug 2012 22:16:34 +0000 (00:16 +0200)]
The progress bar is now enabled by default, the -p option has been removed. Use -q | --quiet to disable it

12 years agoGraphs are now generated by default for HTML output, option -g as been remove and...
Darold Gilles [Tue, 14 Aug 2012 22:06:58 +0000 (00:06 +0200)]
Graphs are now generated by default for HTML output, option -g as been remove and option -G added to allow disabling graph generation. Request from Julien Rouhaud

12 years agoFix case sensitivity in command line options. Patch by Julien Rouhaud
Darold Gilles [Tue, 14 Aug 2012 14:30:49 +0000 (16:30 +0200)]
Fix case sensitivity in command line options. Patch by Julien Rouhaud

12 years agoAdd -T|--title option to change report title. Patch by Yury Bushmelev
Darold Gilles [Tue, 14 Aug 2012 13:23:54 +0000 (15:23 +0200)]
Add -T|--title option to change report title. Patch by Yury Bushmelev

12 years agoAdding new option --exclude-file to exclude specific commands with regex stated in...
Darold Gilles [Mon, 13 Aug 2012 20:44:27 +0000 (22:44 +0200)]
Adding new option --exclude-file to exclude specific commands with regex stated in a file. This is a rewrite of the opened pull request 21 by neoeahit (Vipul)

12 years agoCSV log parser have been entirely rewritten to handle csv with multiline, it also...
Darold Gilles [Mon, 13 Aug 2012 19:51:20 +0000 (21:51 +0200)]
CSV log parser have been entirely rewritten to handle csv with multiline, it also add approximative duration for csvlog. Reported by Ludhimila Kendrick

12 years agoAlphabetical reordering of options list in method usage() and documentation
Darold [Sat, 28 Jul 2012 18:52:25 +0000 (20:52 +0200)]
Alphabetical reordering of options list in method usage() and documentation

12 years agoAdd -l | --last-parsed options to allow incremental run of pgbadger
Darold [Sat, 28 Jul 2012 18:41:31 +0000 (20:41 +0200)]
Add -l | --last-parsed options to allow incremental run of pgbadger

12 years agoRemove obsolete -l | --logfile command line option, the -l option will be reused...
Darold [Sat, 28 Jul 2012 09:43:02 +0000 (11:43 +0200)]
Remove obsolete -l | --logfile command line option, the -l option will be reused to spacify an incremental file

12 years agoReplace call to timelocal_nocheck by timegm_nocheck, to convert date/time into second...
Darold Gilles [Thu, 26 Jul 2012 08:07:11 +0000 (10:07 +0200)]
Replace call to timelocal_nocheck by timegm_nocheck, to convert date/time into second from the epoch. This should fix timezone issue.

12 years agoChange regex on log parser to allow missing ending space in log_line_prefix. This...
Darold Gilles [Tue, 24 Jul 2012 09:22:31 +0000 (11:22 +0200)]
Change regex on log parser to allow missing ending space in log_line_prefix. This seems a common mistake.

12 years agoprint a warning when an empty log file is found
Darold [Sat, 21 Jul 2012 22:31:01 +0000 (00:31 +0200)]
print a warning when an empty log file is found

12 years agoAdd perltidy rc file to format pgbadger Perl code - patch from depesz
Darold [Sat, 21 Jul 2012 22:25:33 +0000 (00:25 +0200)]
Add perltidy rc file to format pgbadger Perl code - patch from depesz

12 years agoChange version to 1.2
Darold Gilles [Sun, 15 Jul 2012 17:07:36 +0000 (19:07 +0200)]
Change version to 1.2

12 years agoAdd -v | --verbose to enable debug mode. It is now disable by default
Darold Gilles [Thu, 12 Jul 2012 15:09:29 +0000 (17:09 +0200)]
Add -v | --verbose to enable debug mode. It is now disable by default

12 years agoThis new report sums the messages by log types. The report shows the number of messag...
Darold Gilles [Thu, 12 Jul 2012 13:45:58 +0000 (15:45 +0200)]
This new report sums the messages by log types. The report shows the number of messages of each log type, and a percentage. It also displays a graph. Patch by Guillaume Lelarge

12 years agoAdd hourly report of checkpoint warning when checkpoints are occuring too frequently...
Darold Gilles [Wed, 11 Jul 2012 21:43:06 +0000 (23:43 +0200)]
Add hourly report of checkpoint warning when checkpoints are occuring too frequently, it will display the hourly count and the average occuring time

12 years agoAdd missing pie graph on locks by type report
Darold Gilles [Tue, 10 Jul 2012 16:42:41 +0000 (18:42 +0200)]
Add missing pie graph on locks by type report

12 years agoFormat pie mouse track to display values only
Darold Gilles [Tue, 10 Jul 2012 16:37:13 +0000 (18:37 +0200)]
Format pie mouse track to display values only

12 years agoFix graph download button id on new connection graph
Darold Gilles [Tue, 10 Jul 2012 15:04:58 +0000 (17:04 +0200)]
Fix graph download button id on new connection graph

12 years agoAdd trackFormatter to flotr2 line graphs to show current x/y values
Darold Gilles [Tue, 10 Jul 2012 14:56:51 +0000 (16:56 +0200)]
Add trackFormatter to flotr2 line graphs to show current x/y values

12 years agoFix issue on per minute minimum value
Darold Gilles [Tue, 10 Jul 2012 14:53:35 +0000 (16:53 +0200)]
Fix issue on per minute minimum value

12 years agoAdd a note about Windows Os and zcat as well as a more general note about using compr...
Darold Gilles [Mon, 9 Jul 2012 17:50:14 +0000 (19:50 +0200)]
Add a note about Windows Os and zcat as well as a more general note about using compressed log file in other format than gzip

12 years agoRewrite change log to be human readable
Darold Gilles [Mon, 9 Jul 2012 16:45:28 +0000 (18:45 +0200)]
Rewrite change log to be human readable

12 years agoComplete rewrite of the log parser to handle unordered log lines. Data are now stored...
Darold Gilles [Mon, 9 Jul 2012 16:18:24 +0000 (18:18 +0200)]
Complete rewrite of the log parser to handle unordered log lines. Data are now stored by pid before and added to the global statistics at end. Error report now include full details, statements, contexts and hints when available. Deadlock are also fully reported with the concerned queries.

12 years agoFix miss handling of multi lines queries on syslog
Darold Gilles [Thu, 5 Jul 2012 19:47:09 +0000 (21:47 +0200)]
Fix miss handling of multi lines queries on syslog

12 years agoAdd -a|--average option to configure the per minutes average interval for queries...
Darold Gilles [Thu, 5 Jul 2012 14:50:42 +0000 (16:50 +0200)]
Add -a|--average option to configure the per minutes average interval for queries and connexions. If you want the average to be calculated each minutes, use --average 1 or like the default --average 5

12 years agoAdd hourly statistics of connections and sessions as well as a chart about the number...
Darold Gilles [Thu, 5 Jul 2012 14:04:30 +0000 (16:04 +0200)]
Add hourly statistics of connections and sessions as well as a chart about the number of connection per second (5 minutes average)

12 years agoAdd OTHERS type of queries lower than 2% to be include in the sum of types < 2%
Darold Gilles [Thu, 5 Jul 2012 11:35:13 +0000 (13:35 +0200)]
Add OTHERS type of queries lower than 2% to be include in the sum of types < 2%

12 years agoAdd autodetection of syslog ident name if different than the default "postgres" and...
Darold Gilles [Thu, 5 Jul 2012 09:14:02 +0000 (11:14 +0200)]
Add autodetection of syslog ident name if different than the default "postgres" and that there is just one ident name in the log

12 years agoRemove syslog replacement of tabulation by #011 still visible when there was multiple...
Darold Gilles [Thu, 5 Jul 2012 09:04:31 +0000 (11:04 +0200)]
Remove syslog replacement of tabulation by #011 still visible when there was multiple tabulation

12 years agoFix autodetection of log format syslog with single-digit day number in date
Darold Gilles [Thu, 5 Jul 2012 07:52:19 +0000 (09:52 +0200)]
Fix autodetection of log format syslog with single-digit day number in date

12 years agoAdd ChangeLog to MANIFEST and change URI in html footer
Darold Gilles [Wed, 4 Jul 2012 18:13:25 +0000 (20:13 +0200)]
Add ChangeLog to MANIFEST and change URI in html footer

12 years agoAdd ChangeLog file
Darold Gilles [Wed, 4 Jul 2012 16:24:30 +0000 (18:24 +0200)]
Add ChangeLog file

12 years agoChange version to 1.1
Darold Gilles [Wed, 4 Jul 2012 16:12:17 +0000 (18:12 +0200)]
Change version to 1.1

12 years agoAdd information about log format requirement - Alain Benard
Darold Gilles [Wed, 4 Jul 2012 14:14:18 +0000 (16:14 +0200)]
Add information about log format requirement - Alain Benard

12 years agoAdd possibility to get log from stdin (issue #13) - Tonis Kevvai
Darold [Tue, 3 Jul 2012 21:20:21 +0000 (23:20 +0200)]
Add possibility to get log from stdin (issue #13) - Tonis Kevvai

12 years agoChange fix on day with single digit to be formatted by sprintf()
Darold [Tue, 3 Jul 2012 20:59:13 +0000 (22:59 +0200)]
Change fix on day with single digit to be formatted by sprintf()

12 years agoMerge pull request #19 from josephmarlin/master
Darold [Tue, 3 Jul 2012 16:43:57 +0000 (09:43 -0700)]
Merge pull request #19 from josephmarlin/master

Fix for single digit syslog dates not being formatted correctly when being compared to start/end times.

12 years agoFix for begin/end dates with single digit day using syslog
josephmarlin [Tue, 3 Jul 2012 15:58:27 +0000 (11:58 -0400)]
Fix for begin/end dates with single digit day using syslog

12 years agoAllow log without duration with error only report and when --disable-query and -...
Darold [Mon, 2 Jul 2012 09:35:06 +0000 (11:35 +0200)]
Allow log without duration with error only report and when --disable-query and --disable-hourly are used

12 years agoMerge pull request #18 from overplumbum/master
Darold [Mon, 2 Jul 2012 06:46:47 +0000 (23:46 -0700)]
Merge pull request #18 from overplumbum/master

Proper parsing of syslog dates between 1 and 10

12 years agohandle syslog dates with single-digit day number
Denis Orlikhin [Sun, 1 Jul 2012 22:04:16 +0000 (02:04 +0400)]
handle syslog dates with single-digit day number

12 years agoChange syslog parsing regex to allow log timestamp in log_line_prefix
Darold [Sun, 1 Jul 2012 08:59:46 +0000 (10:59 +0200)]
Change syslog parsing regex to allow log timestamp in log_line_prefix

12 years agoAdd documentation for the --zcat command line option
Darold Gilles [Fri, 29 Jun 2012 14:35:40 +0000 (16:35 +0200)]
Add documentation for the --zcat command line option

12 years agoMerge pull request #15 from theory/where-zcat
Darold [Fri, 29 Jun 2012 14:29:07 +0000 (07:29 -0700)]
Merge pull request #15 from theory/where-zcat

Allow `zcat` location to be specified via `--zcat`.

12 years agoAllow `zcat` location to be specified via `--zcat`.
David E. Wheeler [Fri, 29 Jun 2012 14:10:32 +0000 (16:10 +0200)]
Allow `zcat` location to be specified via `--zcat`.

Also default to just `zcat`, so that chances are it can be found in the path.

Even better might be to search the path for `gzcat` and fall back on `zcat`, but perhaps another time.

12 years agoMerge pull request #12 from josephmarlin/master
Darold [Mon, 25 Jun 2012 20:29:58 +0000 (13:29 -0700)]
Merge pull request #12 from josephmarlin/master

English fixes

12 years agoFix English in error messages.
josephmarlin [Mon, 25 Jun 2012 16:24:50 +0000 (12:24 -0400)]
Fix English in error messages.

12 years agoMirrored English changes in the doc
josephmarlin [Mon, 25 Jun 2012 16:01:16 +0000 (12:01 -0400)]
Mirrored English changes in the doc

12 years agoEnglish fixes for README
josephmarlin [Mon, 25 Jun 2012 15:51:30 +0000 (11:51 -0400)]
English fixes for README

12 years agoFix non terminated TH html tag in checkpoint hourly table - Joseph Marlin
Darold Gilles [Mon, 25 Jun 2012 15:44:24 +0000 (17:44 +0200)]
Fix non terminated TH html tag in checkpoint hourly table - Joseph Marlin

12 years ago"Log file" will now only report first and last log file parsed
Darold Gilles [Mon, 25 Jun 2012 11:47:32 +0000 (13:47 +0200)]
"Log file" will now only report first and last log file parsed

12 years agoAdd --disable-session,--disable-connection,--disable-lock,--disable-temporary,--disab...
Darold Gilles [Mon, 25 Jun 2012 10:24:53 +0000 (12:24 +0200)]
Add --disable-session,--disable-connection,--disable-lock,--disable-temporary,--disable-checkpoint command line options to remove their respective report from the output

12 years agoAdd --disable-query command line option to remove queries statistics from the output
Darold [Sun, 24 Jun 2012 11:46:32 +0000 (13:46 +0200)]
Add --disable-query command line option to remove queries statistics from the output

12 years agoAdd --disable-hourly command line option to remove hourly statistics from the output
Darold [Sun, 24 Jun 2012 11:10:42 +0000 (13:10 +0200)]
Add --disable-hourly command line option to remove hourly statistics from the output

12 years agoFix hourly temporary file stat empty output
Darold [Sun, 24 Jun 2012 10:18:28 +0000 (12:18 +0200)]
Fix hourly temporary file stat empty output

12 years agoAdd --disable-error command line option to remove error report from the output
Darold [Sun, 24 Jun 2012 09:46:50 +0000 (11:46 +0200)]
Add --disable-error command line option to remove error report from the output

12 years agoFix issue #8 wrapping query that goes out of the table and makes the window scroll...
Darold [Sat, 23 Jun 2012 21:23:27 +0000 (23:23 +0200)]
Fix issue #8 wrapping query that goes out of the table and makes the window scroll horizontally - Isaac Reuben

12 years agoAdd --exclude-query option to exclude types of queries by specifying a regex - Isaac...
Darold [Sat, 23 Jun 2012 08:55:00 +0000 (10:55 +0200)]
Add --exclude-query option to exclude types of queries by specifying a regex - Isaac Reuben

12 years agoFix issue #10 where != was replaced by $$CLASSSY0A$$!=$$CLASSSY0B$$ in the output...
Darold [Fri, 22 Jun 2012 22:18:41 +0000 (00:18 +0200)]
Fix issue #10 where != was replaced by $$CLASSSY0A$$!=$$CLASSSY0B$$ in the output - Isaac Reuben

12 years agoFix text output
Darold [Sun, 10 Jun 2012 21:32:29 +0000 (23:32 +0200)]
Fix text output

12 years agoSet thousand separator and decimal separator locale dependant
Darold [Sat, 9 Jun 2012 12:19:18 +0000 (14:19 +0200)]
Set thousand separator and decimal separator locale dependant

12 years agoAdd -w option to only report errors
Darold [Sat, 9 Jun 2012 11:57:33 +0000 (13:57 +0200)]
Add -w option to only report errors

12 years agoFix some type and add some comment into documentation
Darold [Sat, 9 Jun 2012 09:44:12 +0000 (11:44 +0200)]
Fix some type and add some comment into documentation

12 years agoAdd Makefile.PL and full POD documentation to the project
Darold Gilles [Fri, 8 Jun 2012 22:08:04 +0000 (00:08 +0200)]
Add Makefile.PL and full POD documentation to the project

12 years agoFix a SQL code highligh replacement
Darold Gilles [Fri, 8 Jun 2012 14:45:59 +0000 (16:45 +0200)]
Fix a SQL code highligh replacement

12 years agoChange a little the CSS
Darold Gilles [Fri, 8 Jun 2012 14:44:54 +0000 (16:44 +0200)]
Change a little the CSS

12 years agoComplete review of the HTML output. Hourly report for temporary files and checkpoints...
Darold Gilles [Thu, 7 Jun 2012 21:41:49 +0000 (23:41 +0200)]
Complete review of the HTML output. Hourly report for temporary files and checkpoints have moved in a separate table

12 years agoAllow multiple log file from command line, option -l is now deprecated
Darold Gilles [Thu, 7 Jun 2012 12:53:57 +0000 (14:53 +0200)]
Allow multiple log file from command line, option -l is now deprecated

12 years agoMerge pull request #5 from vpicavet/master
Darold [Fri, 1 Jun 2012 14:23:53 +0000 (07:23 -0700)]
Merge pull request #5 from vpicavet/master

Bugfixes for user and database filters

12 years agoAdd .gitignore for swap files.
Vincent Picavet [Fri, 1 Jun 2012 10:22:20 +0000 (10:22 +0000)]
Add .gitignore for swap files.