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

13 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=([^,]*)"

13 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

13 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

13 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

13 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 -

13 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

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