]>
granicus.if.org Git - pgbadger/log
Darold Gilles [Fri, 12 Apr 2013 14:51:12 +0000 (16:51 +0200)]
Fix unmatched ) in regex when using %s in prefix.
Darold Gilles [Fri, 12 Apr 2013 10:23:35 +0000 (12:23 +0200)]
Fix bad average size of temporary file in Overall statistics report. Thanks to Jehan Guillaume de Rorthais for the report.
Darold [Wed, 10 Apr 2013 17:07:35 +0000 (10:07 -0700)]
Merge pull request #88 from gleu/restartpoint
Add restartpoint reporting
Guillaume Lelarge [Wed, 10 Apr 2013 16:32:23 +0000 (18:32 +0200)]
Add restartpoint reporting
Table and graph...
Darold Gilles [Wed, 10 Apr 2013 16:25:37 +0000 (18:25 +0200)]
Made some minor change in CSS.
Darold Gilles [Tue, 9 Apr 2013 16:54:06 +0000 (18:54 +0200)]
Replace %% in log line prefix internally by a single %. Thanks to Cal Heldenbrand for the report.
Darold Gilles [Tue, 9 Apr 2013 08:42:48 +0000 (10:42 +0200)]
Fix perl documentation header, thanks to Cyril Bouthors for the patch.
Darold Gilles [Sun, 7 Apr 2013 18:17:59 +0000 (20:17 +0200)]
Update Changelog and version to 3.2
Darold Gilles [Thu, 4 Apr 2013 12:16:28 +0000 (14:16 +0200)]
In multiprocess mode, fix case where pgbadger does not update the last-parsed file and do not take care of the previous run. Thanks to Kong Man for the report.
Darold Gilles [Wed, 3 Apr 2013 21:53:22 +0000 (23:53 +0200)]
Fix case where pgbadger does not update the last-parsed file. Thanks to Kong Man for the report.
Darold Gilles [Wed, 3 Apr 2013 21:30:39 +0000 (23:30 +0200)]
Merge branch 'master' of github.com:dalibo/pgbadger
Darold [Sun, 24 Mar 2013 08:49:40 +0000 (01:49 -0700)]
Merge pull request #81 from eulerto/cdata
Add CDATA to make validator happy.
Darold [Sat, 23 Mar 2013 08:25:04 +0000 (01:25 -0700)]
Merge pull request #80 from eulerto/master
Trivial fixes
Euler Taveira de Oliveira [Sat, 23 Mar 2013 04:10:31 +0000 (01:10 -0300)]
Add CDATA to make validator happy.
It is a good practice to use CDATA section for inline javascript when
using XHTML.
Euler Taveira de Oliveira [Sat, 23 Mar 2013 03:02:37 +0000 (00:02 -0300)]
Forgot to replace PgBadger in a few places.
Euler Taveira de Oliveira [Sat, 23 Mar 2013 02:57:58 +0000 (23:57 -0300)]
Name is pgBadger.
The software is named pgBadger. Fix some places that call it PgBadger (p
is lowercase).
Euler Taveira de Oliveira [Sat, 23 Mar 2013 02:55:20 +0000 (23:55 -0300)]
Unbreak id attribute.
Id attribute is unique. Each time an id is used in an element it must
have a different value.
Euler Taveira de Oliveira [Sat, 23 Mar 2013 02:54:49 +0000 (23:54 -0300)]
Fix copy'n'pasto.
Euler Taveira de Oliveira [Sat, 23 Mar 2013 02:51:50 +0000 (23:51 -0300)]
Replace 'Av.' with 'Avg'.
The latter is more widely known than the former.
Darold Gilles [Thu, 21 Mar 2013 22:45:02 +0000 (23:45 +0100)]
Fix case where stat were multiplied by N when -J was set to N. Thanks to thegnorf for the report.
Darold Gilles [Thu, 21 Mar 2013 08:34:40 +0000 (09:34 +0100)]
Add a line about log_statement set to all in documentation.
Darold [Wed, 13 Mar 2013 13:39:40 +0000 (06:39 -0700)]
Merge pull request #75 from daamien/master
Quick note on how to Conrtibute
damien clochard [Wed, 13 Mar 2013 13:34:37 +0000 (14:34 +0100)]
Change the title
damien clochard [Wed, 13 Mar 2013 13:31:59 +0000 (14:31 +0100)]
Note on how to contribute
wq
Darold Gilles [Mon, 11 Mar 2013 11:24:35 +0000 (12:24 +0100)]
Fix issue with logs read from stdin. Thanks to hubert depesz lubaczewski for the report.
Darold Gilles [Thu, 7 Mar 2013 22:12:46 +0000 (23:12 +0100)]
Force pgbadger to not try to beautify queries bigger than 10kb, this will take too much time. This value can be reduce in the future if hang with long queries still happen. Thanks to John Rouillard for the report.
Darold Gilles [Sun, 3 Mar 2013 20:45:38 +0000 (21:45 +0100)]
Apply previous patch to syslog format.
Darold Gilles [Sun, 3 Mar 2013 15:49:16 +0000 (16:49 +0100)]
Fix an other issue in replacing bind param when the bind value is alone on a single line. Thanks to Kjeld Peters for the report.
Darold Gilles [Sun, 3 Mar 2013 11:15:54 +0000 (12:15 +0100)]
Fix parsing of compressed files together with uncompressed files using the the -j option. Uncompressed files are now processed using split method and compressed ones are parsed per one dedicated process.
Darold Gilles [Sun, 3 Mar 2013 09:51:58 +0000 (10:51 +0100)]
Add missing zcat command control in previous patch.
Darold Gilles [Sun, 3 Mar 2013 09:45:51 +0000 (10:45 +0100)]
Replace zcat by gunzip -c to fix an issue on MacOsx. Thanks to Kjeld Peters for the report.
Darold Gilles [Sun, 3 Mar 2013 09:28:02 +0000 (10:28 +0100)]
Escape HTML code inside queries. Thanks to denstark for the report.
Darold Gilles [Sat, 2 Mar 2013 18:20:21 +0000 (19:20 +0100)]
Add Min/Max in addition to Average duration values in queries reports. Thanks to John Rouillard fot the feature request.
Darold Gilles [Sat, 2 Mar 2013 17:23:58 +0000 (18:23 +0100)]
Fix top slowest array size with binary format.
Darold Gilles [Sat, 2 Mar 2013 15:42:12 +0000 (16:42 +0100)]
Fix an other case with bind parameters with value in next line and the top N slowest queries that was repeated until N even if the real number of queries was lower. Thanks to Kjeld Peters for the reports.
Darold Gilles [Sat, 2 Mar 2013 10:28:34 +0000 (11:28 +0100)]
Fix non replacement of bind parameters where there is line breaks in the parameters, aka multiline bind parameters. Thanks to Kjeld Peters for the report.
Darold Gilles [Sat, 2 Mar 2013 09:27:33 +0000 (10:27 +0100)]
Fix error with seekable export tag with Perl v5.8. Thanks to Jeff Bohmer for the report.
Darold Gilles [Thu, 28 Feb 2013 21:42:27 +0000 (22:42 +0100)]
Fix parsing of syslog lines begining with a timestamp like "2013-02-28T10:35:11-05:00". Thanks to Ryan P. Kelly for the report.
Darold Gilles [Wed, 27 Feb 2013 17:31:42 +0000 (18:31 +0100)]
Fix issue #65 where using -c | --dbclient with csvlog was broken. Thanks to Jaime Casanova for the report.
Darold Gilles [Fri, 22 Feb 2013 00:16:11 +0000 (01:16 +0100)]
Update ChangeLog with last commit for release 3.1.
Darold Gilles [Fri, 22 Feb 2013 00:14:43 +0000 (01:14 +0100)]
Fix empty report in watchlog mode (-w option).
Darold Gilles [Thu, 21 Feb 2013 23:36:07 +0000 (00:36 +0100)]
Update ChangeLog and version to 3.1
Darold Gilles [Thu, 21 Feb 2013 23:26:40 +0000 (00:26 +0100)]
Fix dies on command line options error.
Darold Gilles [Thu, 21 Feb 2013 23:21:35 +0000 (00:21 +0100)]
Fix missing report of most frequent events/errors report. Thanks to Vincent Laborie for the report.
Darold Gilles [Thu, 21 Feb 2013 22:55:16 +0000 (23:55 +0100)]
Fix missing report of slowest normalized queries.
Darold Gilles [Thu, 21 Feb 2013 22:41:20 +0000 (23:41 +0100)]
Fix display of last print of progress bar when quiet mode is enabled.
Darold Gilles [Wed, 20 Feb 2013 20:51:52 +0000 (21:51 +0100)]
Update Changelog for v3.0
Darold Gilles [Wed, 20 Feb 2013 20:40:38 +0000 (21:40 +0100)]
Add more details about parallel parsing.
Darold Gilles [Wed, 20 Feb 2013 20:37:49 +0000 (21:37 +0100)]
Fix freeze of pgbadger in multiprocess mode with -e or -d filtering options
Darold Gilles [Tue, 19 Feb 2013 09:20:06 +0000 (10:20 +0100)]
Fix multiprocess freeze issue introduce in previous patch.
Darold Gilles [Mon, 18 Feb 2013 22:24:58 +0000 (23:24 +0100)]
Update to version 3.0
Darold Gilles [Mon, 18 Feb 2013 22:19:32 +0000 (23:19 +0100)]
Update documentation about log_duration, log_min_duration_statement and log_statement.
Darold Gilles [Mon, 18 Feb 2013 22:18:24 +0000 (23:18 +0100)]
Rewrite dirty code around log timestamp comparison to find the specified begin or ending date.
Darold Gilles [Sun, 17 Feb 2013 23:14:40 +0000 (00:14 +0100)]
Remove distinction between log with duration enable from log_min_duration_statement and log_duration. Commands line options --enable-log_duration and --enable-log_duration have been removed too.
Darold Gilles [Sun, 17 Feb 2013 00:12:50 +0000 (01:12 +0100)]
Update documentation about parallel processing
Darold Gilles [Sat, 16 Feb 2013 23:48:43 +0000 (00:48 +0100)]
Update Changelog
Darold Gilles [Thu, 14 Feb 2013 11:19:17 +0000 (12:19 +0100)]
Remove usage of Storable::file_magic to autodetect binary format file, it is not include in core perl 5.8. Thanks to Marc Cousin for the report.
Darold Gilles [Wed, 13 Feb 2013 09:33:52 +0000 (10:33 +0100)]
Force multiprocess per file when files are compressed. Thanks to Julien Rouhaud for the report.
Darold Gilles [Tue, 12 Feb 2013 18:14:42 +0000 (19:14 +0100)]
Add progress bar logger for multiprocess by forking a dedicated process and using pipe. Also fix some bugs in using binary format that duplicate query/error samples per process.
Darold Gilles [Wed, 6 Feb 2013 18:43:07 +0000 (19:43 +0100)]
chmod 755 pgbadger
Darold Gilles [Wed, 6 Feb 2013 18:15:26 +0000 (19:15 +0100)]
Fix display of reference array instead of errors samples informations.
Darold Gilles [Wed, 6 Feb 2013 11:15:18 +0000 (12:15 +0100)]
Fix display of empty table with --enable-log_min_duration on a file without statement.
Darold Gilles [Wed, 6 Feb 2013 10:53:52 +0000 (11:53 +0100)]
Fix checkpoint reports when there is on checkpoint warnings.
Darold Gilles [Tue, 5 Feb 2013 16:13:49 +0000 (17:13 +0100)]
Fix non report of hourly connections/checkpoint/autovacuum when not query is found in log file. Thanks to Guillaume Lelarge for the report.
Darold Gilles [Tue, 5 Feb 2013 13:27:40 +0000 (14:27 +0100)]
Remove the use of Proc::Queue for multiprocess support.
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.