]> granicus.if.org Git - pgbadger/log
pgbadger
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.

12 years agoFix wrong variable for user and database filter.
Vincent Picavet [Fri, 1 Jun 2012 10:21:12 +0000 (10:21 +0000)]
Fix wrong variable for user and database filter.

12 years agoChange default regexp for user and db to be able to detect both.
Vincent Picavet [Fri, 1 Jun 2012 10:20:14 +0000 (10:20 +0000)]
Change default regexp for user and db to be able to detect both.

12 years agoMerge pull request #4 from vpicavet/master
Darold [Thu, 31 May 2012 21:14:55 +0000 (14:14 -0700)]
Merge pull request #4 from vpicavet/master

fix bug in -b and -e option with syslog

12 years agoFix false cur_date when using syslog and allow -b and -e options to work.
Vincent Picavet [Thu, 31 May 2012 17:18:40 +0000 (17:18 +0000)]
Fix false cur_date when using syslog and allow -b and -e options to work.

12 years agoMerge pull request #3 from badalex/csv
Darold [Wed, 30 May 2012 16:05:26 +0000 (09:05 -0700)]
Merge pull request #3 from badalex/csv

Add simple csvlog support

12 years agoAdd simple csvlog support
Alex Hunsaker [Thu, 24 May 2012 04:12:16 +0000 (22:12 -0600)]
Add simple csvlog support

12 years agofix case where log line where not detected
Darold [Thu, 24 May 2012 03:54:55 +0000 (05:54 +0200)]
fix case where log line where not detected

12 years agofix interpreted ctrl+M and log format example from previous git merges
Darold [Thu, 24 May 2012 03:53:32 +0000 (05:53 +0200)]
fix interpreted ctrl+M and log format example from previous git merges

12 years agoMerge pull request #2 from ragged/master
Darold [Thu, 24 May 2012 03:47:34 +0000 (20:47 -0700)]
Merge pull request #2 from ragged/master

changed documentation and help to make datetime more clearly

12 years agoAdded explanation for --begin and --end datetime setting. And added -v / --version
ragged [Wed, 23 May 2012 05:38:25 +0000 (22:38 -0700)]
Added explanation for --begin and --end datetime setting. And added -v / --version

12 years agoAdded explanation for --begin and --end datetime setting. And added -v / --version
ragged [Wed, 23 May 2012 05:35:35 +0000 (08:35 +0300)]
Added explanation for --begin and --end datetime setting. And added -v / --version

12 years agoMerge pull request #1 from ireuben/master
Guillaume Lelarge [Sat, 19 May 2012 11:37:40 +0000 (04:37 -0700)]
Merge pull request #1 from ireuben/master

Fix config examples to use variables for user and db

12 years agoFix config examples to use variables for user and db
Isaac Reuben [Sat, 19 May 2012 04:00:27 +0000 (21:00 -0700)]
Fix config examples to use variables for user and db

12 years agoFix usage information and presentation in README file
Darold [Fri, 18 May 2012 03:06:32 +0000 (05:06 +0200)]
Fix usage information and presentation in README file

12 years agoChange version to 1.0
Darold Gilles [Fri, 4 May 2012 15:21:05 +0000 (17:21 +0200)]
Change version to 1.0

12 years agoAdd graph of ckeckpoint Wal files usage (added, removed, recycled)
Darold Gilles [Fri, 4 May 2012 15:19:30 +0000 (17:19 +0200)]
Add graph of ckeckpoint Wal files usage (added, removed, recycled)

12 years agoAdd --image-format to allow the change of the default png image format to jpeg
Darold Gilles [Fri, 4 May 2012 15:00:46 +0000 (17:00 +0200)]
Add --image-format to allow the change of the default png image format to jpeg

12 years agoAllow download of all pie graphics as images
Darold Gilles [Fri, 4 May 2012 14:53:05 +0000 (16:53 +0200)]
Allow download of all pie graphics as images

12 years agoAdd --pie-limit to sum all data lower than this percentage limit to avoid label overlap
Darold Gilles [Fri, 4 May 2012 14:39:59 +0000 (16:39 +0200)]
Add --pie-limit to sum all data lower than this percentage limit to avoid label overlap

12 years agoAllow download of graphics as PNG images
Darold Gilles [Thu, 3 May 2012 20:39:03 +0000 (22:39 +0200)]
Allow download of graphics as PNG images

12 years agoRearrange x and y axis
Darold Gilles [Thu, 3 May 2012 20:10:31 +0000 (22:10 +0200)]
Rearrange x and y axis

12 years agoFix legend opacity on graphics
Darold Gilles [Thu, 3 May 2012 19:43:42 +0000 (21:43 +0200)]
Fix legend opacity on graphics

12 years agoReplace GD::Graph by the Flotr2 javascript library to draw graphics - Guillaume Lelarge
Darold Gilles [Thu, 3 May 2012 18:14:40 +0000 (20:14 +0200)]
Replace GD::Graph by the Flotr2 javascript library to draw graphics - Guillaume Lelarge

12 years agoRearrange x-axis label of GD::Graph graphics
Darold Gilles [Wed, 2 May 2012 12:52:32 +0000 (14:52 +0200)]
Rearrange x-axis label of GD::Graph graphics

12 years agoRearrange Overall stats view
Darold Gilles [Wed, 2 May 2012 12:06:26 +0000 (14:06 +0200)]
Rearrange Overall stats view

12 years agoForce graphics images to be saved in the same directory as the html output file
Darold Gilles [Wed, 2 May 2012 11:51:53 +0000 (13:51 +0200)]
Force graphics images to be saved in the same directory as the html output file

12 years agoFix samples error with normalyzed error instead of real error message
Darold Gilles [Wed, 2 May 2012 10:54:42 +0000 (12:54 +0200)]
Fix samples error with normalyzed error instead of real error message

12 years agoAdd more "normalization" on errors messages
Darold Gilles [Fri, 27 Apr 2012 10:30:29 +0000 (12:30 +0200)]
Add more "normalization" on errors messages

12 years agoFix an other average size of temporary file decimal limit
Darold [Fri, 20 Apr 2012 12:43:00 +0000 (14:43 +0200)]
Fix an other average size of temporary file decimal limit

12 years agoUpdate usage information with new options
Darold [Fri, 20 Apr 2012 11:42:12 +0000 (13:42 +0200)]
Update usage information with new options

12 years agoForce quiet mode when --progress is used
Darold [Fri, 20 Apr 2012 11:36:18 +0000 (13:36 +0200)]
Force quiet mode when --progress is used

12 years agoFix per sessions graphs
Darold [Fri, 20 Apr 2012 10:44:11 +0000 (12:44 +0200)]
Fix per sessions graphs

12 years agoAdd pie graphs for session, database, user and host. Add --quiet option to remove...
Darold [Fri, 20 Apr 2012 09:06:25 +0000 (11:06 +0200)]
Add pie graphs for session, database, user and host. Add --quiet option to remove debug output and --progress to show a progress bar during log parsing

12 years agoAdd pie graph for Queries by type
Darold [Wed, 18 Apr 2012 19:34:42 +0000 (21:34 +0200)]
Add pie graph for Queries by type

12 years agoFix sort order of days/hours into hours array
Darold [Wed, 18 Apr 2012 15:07:43 +0000 (17:07 +0200)]
Fix sort order of days/hours into hours array

12 years agoFix sort order of days into graphics
Darold [Wed, 18 Apr 2012 15:05:19 +0000 (17:05 +0200)]
Fix sort order of days into graphics

12 years agoAdd graph for checkpoint write buffer per hours
Darold [Mon, 16 Apr 2012 22:37:47 +0000 (00:37 +0200)]
Add graph for checkpoint write buffer per hours

12 years agoRemove display of locks, sessions and connections statistics when none are available
Darold [Sun, 15 Apr 2012 22:05:25 +0000 (00:05 +0200)]
Remove display of locks, sessions and connections statistics when none are available

12 years agoFix display of empty column of checkpoint when no checkpoint was found in log file
Darold [Sun, 15 Apr 2012 21:39:57 +0000 (23:39 +0200)]
Fix display of empty column of checkpoint when no checkpoint was found in log file

12 years agoAllow log parsing without any log_line_prefix and extend it to be defined by the...
Darold [Sun, 15 Apr 2012 20:16:55 +0000 (22:16 +0200)]
Allow log parsing without any log_line_prefix and extend it to be defined by the user. Custom log_line prefix can be parsed using user defined regex with command line option
--regex-db and --regex-user. For exemple the default regex of pgbadger to parse user and db name from log_line_prefix can be written like this: pgbadger -l mylogfile.log  --regex-user="user=([^,]*)," --regex-db="db=([^,]*)"

12 years agoSepare log_line_prefix from log level part in the parser to extend log_line_prefix...
Darold [Sun, 15 Apr 2012 16:05:12 +0000 (18:05 +0200)]
Separe log_line_prefix from log level part in the parser to extend log_line_prefix parsing

12 years agoIf there is just one argument, assume it is the logfile and use default value for...
Darold [Sun, 15 Apr 2012 15:41:05 +0000 (17:41 +0200)]
If there is just one argument, assume it is the logfile and use default value for all other parameters

12 years agoAdd autodetection of log format (syslog or stderr) if none is given with option -f
Darold [Sun, 15 Apr 2012 15:33:33 +0000 (17:33 +0200)]
Add autodetection of log format (syslog or stderr) if none is given with option -f

12 years agoAdd --outfile option to dump output to a file instead of stdout. Default filename...
Darold [Sun, 15 Apr 2012 15:11:44 +0000 (17:11 +0200)]
Add --outfile option to dump output to a file instead of stdout. Default filename is out.html or out.txt following the output format. To dump to stdout set filename to -

12 years agoAdd --version command line option to show current pgbadger version
Darold [Sun, 15 Apr 2012 14:10:40 +0000 (16:10 +0200)]
Add --version command line option to show current pgbadger version

12 years agoInitial commit
Darold Gilles [Thu, 12 Apr 2012 16:05:23 +0000 (18:05 +0200)]
Initial commit