From: wmorancfi Date: Fri, 4 Apr 2014 19:39:52 +0000 (-0400) Subject: Update pgbadger X-Git-Tag: v5.1~30^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7cbc09221243b98f4e16e9a5255875faa91797bc;p=pgbadger Update pgbadger Make it possible to do --sample 0 (prior it was falling back to the default of 3) --- diff --git a/pgbadger b/pgbadger index 385d3f9..52afba4 100755 --- a/pgbadger +++ b/pgbadger @@ -113,7 +113,7 @@ my @exclude_user = (); my @exclude_appname = (); my $ident = ''; my $top = 0; -my $sample = 0; +my $sample = 3; my $extension = ''; my $maxlength = 0; my $graph = 1; @@ -337,9 +337,6 @@ if ($format eq 'syslog2') { # Set default top query $top ||= 20; -# Set the default number of samples -$sample ||= 3; - # Set the default extension and output format if (!$extension) { if ($outfile =~ /\.bin/i) {