From: Darold Date: Wed, 10 Oct 2012 21:44:24 +0000 (+0200) Subject: Update changelog X-Git-Tag: v3.2~130 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7826ec622c9052f7d165855ca8ce54372e722cfa;p=pgbadger Update changelog --- diff --git a/ChangeLog b/ChangeLog index f4e3a64..15ee728 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,56 +1,125 @@ +2012-10-10 - Version 2.1 + +This release add a major feature by allowing any custom log_line_prefix to be +used by pgBadger. With stderr output you at least need to log the timestamp (%t) +the pid (%p) and the session/line number (%l). Support to log_duration instead +of log_min_duration_statement to allow reports simply based on duration and +count report without query detail and report. Lot of bug fixes, please upgrade +asap. + + - Fix detection of compressed log files and allow automatic detection + and uncompress of .gz, .bz2 and .zip files. + - Add gunzip -l command to find the real size of a gzip compressed file. + - Fix log_duration only reports to not take care about query detail but + just count and duration. + - Fix issue with compressed csvlog. Thanks to Philip Freeman for the + report. + - Allow usage of log_duration instead of log_min_duration_statement to + just collect statistics about the number of queries and their time. + Thanks to Vincent Laborie for the feature request. + - Fix issue on syslog format and autodetect with additional info like: + [ID * local2.info]. Thanks to kapsalar for the report. + - Removed unrecognized log line generated by deadlock_timeout. + - Add missing information about unsupported csv log input from stdin. + It must be read from a file. Thank to Philip Freeman for the report. + - Fix issue #28: Illegal division by zero with log file without query + and txt output. Thanks to rlowe for the report. + - Update documentation about the -N | --appname option. + - Rename --name option into --appname. Thanks to Guillaume Lellarge for + the patch. + - Fix min/max value in xasis that was always represented 2 days by + default. Thanks to Casey Allen Shobe for the report. + - Fix major bug when running pgbadger with the -e option. Thanks to + Casey Allen Shobe for the report and the great help + - Change project url to http://dalibo.github.com/pgbadger/. Thanks to + Damien Clochard for this new hosting. + - Fix lot of issues in CSV parser and force locale to be C. Thanks to + Casey Allen Shobe for the reports. + - Improve speed with custom log_line_prefix. + - Merge pull request #26 from elementalvoid/helpdoc-fix + - Fixed help text for --exclude-file. Old help text indicated that the + option name was --exclude_file which was incorrect. + - 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. + - Replace Time column report header by Hour. + - Fix another issue in log_line_prefix parser with stderr format + - Add a more complex example using log_line_prefix + - Fix log_line_prefix issue when using timepstamp with millisecond. + - Add support to use any custom log_line_prefix with new option -p or + --prefix. See README for an example. + - 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. + - Fix display of empty graph of connections per seconds + - Allow character : in log line prefix, it will no more break the log + parsing. Thanks to John Rouillard for the report. + - 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. + - Allow pgbadger to recognize " autovacuum launcher" messages. + 2012-08-21 - version 2.0 -This major version adds some changes not backward compatible with previous versions. Options --p and -g are not more used as progress bar and graphs generation are enabled by default now. -The obsolete -l option use to specify the log file to parse has been reused to specify an -incremental file. Outside these changes and some bug fix there's also new features: +This major version adds some changes not backward compatible with previous +versions. Options -p and -g are not more used as progress bar and graphs +generation are enabled by default now. - * Using an incremental file with -l option allow to parse multiple time a single log file - and to "seek" at the last line parsed during the previous run. Useful if you have a log - rotation not sync with your pgbadger run. For exemple you can run somthing like this: +The obsolete -l option use to specify the log file to parse has been reused to +specify an incremental file. Outside these changes and some bug fix there's +also new features: + + * Using an incremental file with -l option allow to parse multiple time a + single log file and to "seek" at the last line parsed during the previous + run. Useful if you have a log rotation not sync with your pgbadger run. + For exemple you can run somthing like this: pgbadger `find /var/log/postgresql/ -name "postgresql*" -mtime -7 -type f` \ -o report_`date +%F`.html -l /var/run/pgbadger/last_run.log - * All queries diplayed in the HTML report are now clickable to display or hide a nice - SQL query format. This is called SQL format beautifier. + * All queries diplayed in the HTML report are now clickable to display or + hide a nice SQL query format. This is called SQL format beautifier. * CSV log parser have been entirely rewritten to handle csv with multiline. Every one should upgrade. - - Change license from BSD like to PostgreSQL license. Request from Robert Treat. - - Fix wrong pointer on Connections per host menu. Reported by Jean-Paul Argudo. - - Small fix for sql formatting adding scrollbars. Patch by Julien Rouhaud. - - Add SQL format beautifier on SQL queries. When you will click on a query it - will be beautified. Patch by Gilles Darold - - The progress bar is now enabled by default, the -p option has been removed. - Use -q | --quiet to disable it. Patch by Gilles Darold - - 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, patch by Gilles Darold. + - Change license from BSD like to PostgreSQL license. Request from + Robert Treat. + - Fix wrong pointer on Connections per host menu. Reported by Jean-Paul + Argudo. + - Small fix for sql formatting adding scrollbars. Patch by Julien + Rouhaud. + - Add SQL format beautifier on SQL queries. When you will click on a + query it will be beautified. Patch by Gilles Darold + - The progress bar is now enabled by default, the -p option has been + removed. Use -q | --quiet to disable it. Patch by Gilles Darold. + - 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, patch by Gilles Darold. - Remove option -g and -p to the documentation. Patch by Gilles Darold. - Fix case sensitivity in command line options. Patch by Julien Rouhaud. - Add -T|--title option to change report title. Patch by Yury Bushmelev. - - Add new option --exclude-file to exclude specific commands with regex stated - in a file. This is a rewrite by Gilles Darold of the neoeahit (Vipul) patch. - - CSV log parser have been entirely rewritten to handle csv with multiline, it - also adds approximative duration for csvlog. Reported by Ludhimila Kendrick, - patch by Gilles Darold. - - Alphabetical reordering of options list in method usage() and documentation. + - Add new option --exclude-file to exclude specific commands with regex + stated in a file. This is a rewrite by Gilles Darold of the neoeahit + (Vipul) patch. + - CSV log parser have been entirely rewritten to handle csv with multi + line, it also adds approximative duration for csvlog. Reported by + Ludhimila Kendrick, patch by Gilles Darold. + - Alphabetical reordering of options list in method usage() and + documentation. Patch by Gilles Darold. + - Remove obsolete -l | --logfile command line option, the -l option + will be reused to specify an incremental file. Patch by Gilles Darold. + - Add -l | --last-parsed options to allow incremental run of pgbadger. + Patch by Gilles Darold. + - Replace call to timelocal_nocheck by timegm_nocheck, to convert date + time into second from the epoch. This should fix timezone issue. Patch by Gilles Darold. - - Remove obsolete -l | --logfile command line option, the -l option will be reused - to specify an incremental file. Patch by Gilles Darold. - - Add -l | --last-parsed options to allow incremental run of pgbadger. Patch - by Gilles Darold. - - Replace call to timelocal_nocheck by timegm_nocheck, to convert date/time into - second from the epoch. This should fix timezone issue. Patch by Gilles Darold. - - Change regex on log parser to allow missing ending space in log_line_prefix. - - This seems a common mistake. Patch by Gilles Darold. - - print a warning when an empty log file is found. Patch by Gilles Darold. + - Change regex on log parser to allow missing ending space in + log_line_prefix. This seems a common mistake. Patch by Gilles Darold. + - print warning when an empty log file is found. Patch by Gilles Darold. - Add perltidy rc file to format pgbadger Perl code. Patch from depesz. - 2012-07-15 - version 1.2 This version adds some reports and fixes a major issue in log parser. Every one