]>
granicus.if.org Git - pgbadger/log
Darold Gilles [Tue, 5 Feb 2013 13:03:02 +0000 (14:03 +0100)]
Add better handling of signal in multiprocess mode.
Darold Gilles [Tue, 5 Feb 2013 09:01:39 +0000 (10:01 +0100)]
Add -J|--job_per_file command line option to force pgbadger to use one process per file instead of using all process to parse a file. Useful to have better performances with lot of small log file.
Darold Gilles [Tue, 5 Feb 2013 08:42:52 +0000 (09:42 +0100)]
Fix parsing of orphan lines with stderr logs and log_line_prefix without session information into the prefix (%l).
Darold Gilles [Thu, 31 Jan 2013 16:32:55 +0000 (17:32 +0100)]
Update documentation about -j | --jobs option.
Darold Gilles [Thu, 31 Jan 2013 16:28:35 +0000 (17:28 +0100)]
Allow pgbadger to use several cores, aka multiprocessing. Add -j | --jobs option to specify the number of core to use.
Darold Gilles [Wed, 30 Jan 2013 10:05:25 +0000 (11:05 +0100)]
Add autovacuum and autoanalyze infos to binary format.
Darold Gilles [Mon, 28 Jan 2013 21:04:38 +0000 (22:04 +0100)]
Fix case in SQL code highlighting where QQCODE temp keyword was not replaced. Thanks to Julien Ruhaud for the report.
Darold Gilles [Sat, 26 Jan 2013 15:15:12 +0000 (16:15 +0100)]
Fix CSS to draw autovacuum graph and change legend opacity.
Darold Gilles [Fri, 25 Jan 2013 12:09:34 +0000 (13:09 +0100)]
Add pie graph to show repartition of number of autovacuum per table and number of tuples removed by autovacuum per table.
Darold Gilles [Thu, 24 Jan 2013 22:15:40 +0000 (23:15 +0100)]
Add debug information about selected type of log duration format.
Darold Gilles [Thu, 17 Jan 2013 23:10:22 +0000 (00:10 +0100)]
Add report of tuples/pages removed in report of Vacuums by table.
Darold Gilles [Thu, 17 Jan 2013 20:42:59 +0000 (21:42 +0100)]
Fix major bug on syslog parser where years part of the date was wrongly extracted from current date with logs generated in 2012.
Darold [Thu, 17 Jan 2013 20:15:27 +0000 (12:15 -0800)]
Merge pull request #56 from gleu/autovacuum
Autovacuum
Darold Gilles [Thu, 17 Jan 2013 18:44:05 +0000 (19:44 +0100)]
Fix strange issue with Perl 5.16 that do not allow "ss" inside look-behind assertions. Thanks to Cedric for the report.
Guillaume Lelarge [Thu, 17 Jan 2013 15:33:29 +0000 (16:33 +0100)]
New autovacuum hourly report and its graph
Guillaume Lelarge [Thu, 17 Jan 2013 13:32:11 +0000 (14:32 +0100)]
Two new reports: VACUUM/ANALYZE per table
Darold Gilles [Thu, 17 Jan 2013 11:30:45 +0000 (12:30 +0100)]
Update release to 2.3
Darold Gilles [Thu, 17 Jan 2013 11:29:00 +0000 (12:29 +0100)]
Update ChangeLog.
Darold Gilles [Thu, 17 Jan 2013 11:23:24 +0000 (12:23 +0100)]
Update year in copyright.
Darold Gilles [Wed, 9 Jan 2013 21:35:13 +0000 (22:35 +0100)]
Change doc/pgBadger.pod to reflect Matt Romaine README patch.
Darold [Wed, 9 Jan 2013 21:32:08 +0000 (13:32 -0800)]
Merge pull request #54 from mromaine/log_duration-readme-clarification
Clarify misleading statement about log_duration
Darold Gilles [Wed, 9 Jan 2013 21:27:41 +0000 (22:27 +0100)]
Fix --dbname and --dbuser issue with csvlog format. Thanks to Luke Cyca for the report.
Matt (on joker) [Tue, 8 Jan 2013 05:30:49 +0000 (05:30 +0000)]
Clarify misleading statement about log_duration
log_duration may be turned on depending on desired information.
Only log_statement must not be on.
Darold Gilles [Mon, 7 Jan 2013 16:54:02 +0000 (17:54 +0100)]
Add missing SQL::Beautify paternity.
Darold Gilles [Fri, 4 Jan 2013 14:08:11 +0000 (15:08 +0100)]
Fix issue in SQL formatting that prevent left back indentation when major keywords were found. Thanks to Kevin Brannen for the report.
Darold Gilles [Wed, 2 Jan 2013 10:55:20 +0000 (11:55 +0100)]
Display 3 decimal in time report so that ms can be seen. Thanks to Adam Schroder for the request.
Darold [Sun, 30 Dec 2012 18:37:59 +0000 (19:37 +0100)]
Force the parser to not insert a new line after the SET keyword when the query begin with it. This is to preserve the single line with queries like SET client_encoding TO "utf8";
Darold [Sat, 29 Dec 2012 10:11:26 +0000 (11:11 +0100)]
Add better SQL formatting of update queries by adding a new line after the SET keyword. Thanks to pilat66 for the report.
Darold Gilles [Thu, 27 Dec 2012 10:55:01 +0000 (11:55 +0100)]
Update documentation.
Darold Gilles [Thu, 27 Dec 2012 10:53:56 +0000 (11:53 +0100)]
Queries without application name are stored under others application name.
Darold Gilles [Thu, 27 Dec 2012 10:38:07 +0000 (11:38 +0100)]
Add report of number of queries by application if %a is specified in the log_line_prefix.
Darold Gilles [Thu, 27 Dec 2012 09:00:36 +0000 (10:00 +0100)]
Add link menu to the request per database and limit the display of this information when there is more than one database.
Darold Gilles [Wed, 26 Dec 2012 19:13:39 +0000 (20:13 +0100)]
Add report of requests per database.
Darold Gilles [Wed, 26 Dec 2012 18:05:18 +0000 (19:05 +0100)]
Add report of user,remote client and application name to all request info.
Darold Gilles [Mon, 24 Dec 2012 18:04:33 +0000 (19:04 +0100)]
Fix memory leak with option -b (--begin) and in incremental log parsing mode.
Darold Gilles [Mon, 24 Dec 2012 09:31:49 +0000 (10:31 +0100)]
Remove duration from log format auto-detection. Thanks to Guillaume Lelarge for the report.
Darold Gilles [Sun, 23 Dec 2012 17:20:33 +0000 (18:20 +0100)]
Fix a performance issue on prettifying SQL queries that makes pgBagder several time slower that usual to generate the HTML output. Thanks to Vincent Laborie for the report.
Darold Gilles [Sun, 23 Dec 2012 15:02:50 +0000 (16:02 +0100)]
Fix populating of %_error_info.
Darold [Fri, 21 Dec 2012 16:04:06 +0000 (08:04 -0800)]
Merge pull request #50 from ioguix/storable
Add 'binary' format as input/output format
Jehan-Guillaume (ioguix) de Rorthais [Fri, 21 Dec 2012 12:43:34 +0000 (13:43 +0100)]
Add 'binary' format as input/output format
The binary output format allows to save log statistics in a non human
readable file instead of an HTML or text file. These binary files might
then be used as regular input files, combined or not, to produce a html
or txt report.
Darold [Sun, 16 Dec 2012 17:14:06 +0000 (18:14 +0100)]
Remove port from the session regex pattern to match all lines.
Darold [Fri, 14 Dec 2012 13:29:29 +0000 (05:29 -0800)]
Merge pull request #49 from eulerto/master
cosmetic patches
Euler Taveira de Oliveira [Fri, 14 Dec 2012 13:00:52 +0000 (11:00 -0200)]
Fix the progress bar. It was trying to use gunzip to get real file size
for all formats (by default). Unbreak the bz2 format (that does not
report real size) and add support for zip format.
Euler Taveira de Oliveira [Fri, 14 Dec 2012 12:25:35 +0000 (10:25 -0200)]
Fix some typos and grammatical issues.
Darold Gilles [Tue, 11 Dec 2012 22:48:37 +0000 (23:48 +0100)]
Improve SQL code highlighting and keywords detection using the same parser as in site http://sqlformat.darold.net/. Thanks to Alex Gaynor for the feature request.
Darold Gilles [Mon, 10 Dec 2012 08:51:54 +0000 (09:51 +0100)]
Fix issue #46, to add support to hostname or ip address in the client detection. Thanks to stuntmunkee for the report.
Darold Gilles [Mon, 10 Dec 2012 08:39:38 +0000 (09:39 +0100)]
Fix issue #45, pgbadger will now only reports execute statement of the extended protocol (parse/bind/execute). Thanks to pierrestroh for the report.
Darold [Wed, 5 Dec 2012 22:55:19 +0000 (14:55 -0800)]
Merge pull request #44 from darkixion/master
Fix numerous typos as well as formatting and grammatical issues.
Thom Brown [Wed, 5 Dec 2012 22:45:12 +0000 (22:45 +0000)]
Fix numerous typos as well as formatting and grammatical issues.
Darold Gilles [Wed, 5 Dec 2012 18:01:35 +0000 (19:01 +0100)]
Add backward compatibility to obsolete --client command line option. If you were using the short option -c nothing is changed.
Darold [Wed, 5 Dec 2012 17:54:02 +0000 (09:54 -0800)]
Merge pull request #43 from rjuju/fix_dbclient
Small fix for issue with --dbclient and %h in log_line_prefix
Julien Rouhaud [Wed, 5 Dec 2012 17:31:18 +0000 (18:31 +0100)]
Small fix for issue with --dbclient and %h in log_line_prefix
Darold [Sat, 1 Dec 2012 10:28:33 +0000 (11:28 +0100)]
Fix multiline progress bar output.
Darold Gilles [Thu, 22 Nov 2012 16:24:00 +0000 (17:24 +0100)]
Allow usage of a dash into database, user and application names when prefix is used. Thanks to Vipul for the report.
Darold Gilles [Thu, 22 Nov 2012 12:51:08 +0000 (13:51 +0100)]
Mouse over queries will now show in which database they are executed in the overviews (Slowest queries, Most frequent queries, etc. ). Thank to Dirk-Jan Bulsink for the feature request.
Darold Gilles [Thu, 22 Nov 2012 10:54:03 +0000 (11:54 +0100)]
Add some code optimization.
Darold Gilles [Wed, 21 Nov 2012 13:24:51 +0000 (14:24 +0100)]
Fix missing keys on %cur_info hash foreach loop. Thanks to Marc Cousin for the report.
Darold Gilles [Wed, 21 Nov 2012 11:00:31 +0000 (12:00 +0100)]
Move openning file handle to log file into a dedicated function. Thanks to Marc Cousin for the patch.
Darold Gilles [Tue, 20 Nov 2012 13:23:29 +0000 (14:23 +0100)]
Replace Ctrl+M by printable \r. Thanks to Marc Cousin for the report.
Darold Gilles [Wed, 14 Nov 2012 09:20:52 +0000 (10:20 +0100)]
Update version to 2.2
Darold Gilles [Tue, 13 Nov 2012 20:38:48 +0000 (21:38 +0100)]
Update Changelog and release version 2.2
Darold Gilles [Tue, 13 Nov 2012 20:16:16 +0000 (21:16 +0100)]
Add two more Pg keywords and run perltidy.
Darold Gilles [Tue, 13 Nov 2012 11:08:32 +0000 (12:08 +0100)]
Fix number of queries in progress bar with tsung output.
Darold Gilles [Mon, 12 Nov 2012 22:14:19 +0000 (23:14 +0100)]
Remove obsolete syslog-ng and temporary syslog-ll log format added to fix some syslog autodetection issues. There is now just one syslog format: syslog, differences between syslog formats are detected and the log parser is adaptive.
Darold Gilles [Mon, 12 Nov 2012 18:33:07 +0000 (19:33 +0100)]
Add comment about the check_incremental_position() method
Darold Gilles [Mon, 12 Nov 2012 15:49:43 +0000 (16:49 +0100)]
Fix bad report with empty graphs when log files was not in chronological order.
Darold Gilles [Wed, 7 Nov 2012 14:05:43 +0000 (15:05 +0100)]
Add report of the current total of queries and events parsed in progress bar. Thanks to Jehan-Guillaume de Rorthais for the patch.
Darold Gilles [Wed, 7 Nov 2012 10:53:59 +0000 (11:53 +0100)]
Fix parser on syslog with level info after the timestamp like <local0.info>. Thanks to Jehan-Guillaume de Rorthais for the report.
Darold Gilles [Wed, 7 Nov 2012 10:53:38 +0000 (11:53 +0100)]
Fix parser on syslog with level info after the timestamp like <local0.info>. Thanks to Jehan-Guillaume de Rorthais for the report.
Darold Gilles [Wed, 7 Nov 2012 01:10:14 +0000 (02:10 +0100)]
Merge branch 'master' of github.com:dalibo/pgbadger
Darold [Wed, 7 Nov 2012 01:08:05 +0000 (17:08 -0800)]
Merge pull request #39 from davidfetter/master
Text::CSV_XS is a good bit faster than Text::CSV
David Fetter [Tue, 6 Nov 2012 22:19:29 +0000 (14:19 -0800)]
s/Text::CSV/$&_XS/g
Darold Gilles [Mon, 5 Nov 2012 08:41:02 +0000 (09:41 +0100)]
Merge branch 'master' of github.com:dalibo/pgbadger
Darold Gilles [Mon, 5 Nov 2012 08:40:06 +0000 (09:40 +0100)]
Remove the use of dynamic variables on parsing some command line arguments.
Darold [Sun, 28 Oct 2012 16:51:29 +0000 (17:51 +0100)]
Fix several issue with tsung output.
Darold [Sun, 28 Oct 2012 16:11:23 +0000 (17:11 +0100)]
Fix issue on select_only mode
Darold [Sun, 28 Oct 2012 15:57:52 +0000 (16:57 +0100)]
Add report of shut down events
Darold [Sat, 27 Oct 2012 10:21:02 +0000 (12:21 +0200)]
Add debug information on command line used to pipe compressed log file when -v is provide.
Darold [Sat, 27 Oct 2012 08:32:11 +0000 (10:32 +0200)]
Move tsung authenticate request into connection transaction.
Darold Gilles [Fri, 26 Oct 2012 22:06:19 +0000 (00:06 +0200)]
Add -U | --exclude-user command line option to generate report excluded user. Thanks to Birta Levente for the feature request.
Allow some options to be specified multiple time or be written as a coma separated list of value, here are these options: --dbname, --dbuser, --dbclient, --dbappname, --exclude_user.
Darold Gilles [Fri, 26 Oct 2012 19:09:25 +0000 (21:09 +0200)]
Add -S | --select-only option to build report only on select queries. Add first support to tsung output, see usage. Thanks to Guillaume Lelarge for the feature request.
Darold Gilles [Wed, 24 Oct 2012 12:50:18 +0000 (14:50 +0200)]
Fix bug, --include-query was added to exclude_query array.
Darold Gilles [Wed, 24 Oct 2012 12:12:14 +0000 (14:12 +0200)]
Add --include-query and --include-file to specify regx of the queries that must only be included in the report. Thanks to Marc Cousin for the feature request.
Darold [Tue, 23 Oct 2012 07:38:46 +0000 (09:38 +0200)]
Fix auto detection of log_min_duration_statement format.
Darold Gilles [Fri, 19 Oct 2012 08:27:51 +0000 (10:27 +0200)]
Fix parser issue with Windows logs without timezone information. Thanks to Nicolas Thauvin for the report.
Darold Gilles [Thu, 18 Oct 2012 21:24:04 +0000 (23:24 +0200)]
Fix bug in %r = remote host and port log line prefix detection. Thanks to Hubert Depesz Lubaczewski for the report.
Darold Gilles [Thu, 18 Oct 2012 21:14:24 +0000 (23:14 +0200)]
Add -C | --nocomment option to remove comment like /* ... */ from queries. Thanks to Hubert Depesz Lubaczewski for the feature request.
Darold Gilles [Thu, 18 Oct 2012 20:50:39 +0000 (22:50 +0200)]
Fix escaping of log_line_prefix . Thanks to Hubert Depesz Lubaczewski for the patch.
Darold Gilles [Thu, 18 Oct 2012 20:47:15 +0000 (22:47 +0200)]
Fix wrong detection of update queries when a query has a object names containing update and set. Thanks to Vincent Laborie for the report.
Darold Gilles [Fri, 12 Oct 2012 17:01:28 +0000 (19:01 +0200)]
Update Changelog and release version 2.1
Darold Gilles [Fri, 12 Oct 2012 16:27:29 +0000 (18:27 +0200)]
Add new --enable-log_min_duration option to force pgbadger to use lines generated by the log_min_duration_statement even if the log_duration format is autodetected. Useful if you use both but do not log all queries. Thanks to Vincent Laborie for the feature request.
Darold Gilles [Fri, 12 Oct 2012 10:48:57 +0000 (12:48 +0200)]
Add syslog-ng format to better handle syslog traces with notation like: [ID * local2.info]. It is autodetected and can be forced in the -f option with value: syslog-ng.
Darold Gilles [Fri, 12 Oct 2012 08:42:55 +0000 (10:42 +0200)]
Add --enable-log_duration command line option to force pgbadger to only use the log_duration trace even if log_min_duration_statement traces are autodetected.
Darold Gilles [Thu, 11 Oct 2012 20:25:56 +0000 (22:25 +0200)]
Fix display of empty hourly graph when no data were found.
Darold Gilles [Thu, 11 Oct 2012 20:04:31 +0000 (22:04 +0200)]
Remove query type report when log_duration is enabled.
Darold Gilles [Thu, 11 Oct 2012 19:32:46 +0000 (21:32 +0200)]
Fix a major bug in query with bind parameter. Thanks to Marc Cousin for the report.
Darold [Wed, 10 Oct 2012 21:45:41 +0000 (23:45 +0200)]
Change version to 2.1
Darold [Wed, 10 Oct 2012 21:44:24 +0000 (23:44 +0200)]
Update changelog
Darold [Wed, 10 Oct 2012 18:00:41 +0000 (20:00 +0200)]
Fix detection of compressed log files and allow automatic detection and uncompress of .gz, .bz2 and .zip files.
Darold [Wed, 10 Oct 2012 17:00:29 +0000 (19:00 +0200)]
Add gunzip -l command to find the real size of a compressed file.