Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a line about log_statement set to all in documentation.

  • Loading branch information...
commit f22692cbb4fd392af7870884d1128ab738a82e16 1 parent 00ab7fe
@darold darold authored
Showing with 12 additions and 6 deletions.
  1. +6 −3 README
  2. +6 −3 doc/pgBadger.pod
View
9 README
@@ -203,8 +203,9 @@ POSTGRESQL CONFIGURATION
log_min_duration_statement = 0
Here every statement will be logged, on busy server you may want to
- increase this value to only log queries with a higher duration time. See
- next chapter for more information.
+ increase this value to only log queries with a higher duration time.
+ Note that if you have log_statement set to 'all' nothing will be logged
+ with log_line_prefix. See next chapter for more information.
With 'stderr' log format, log_line_prefix must be at least:
@@ -256,7 +257,9 @@ log_min_duration_statement, log_duration and log_statement
log_statement.
Enabling log_min_duration_statement will add reports about slowest
- queries and queries that took up the most time.
+ queries and queries that took up the most time. Take care that if you
+ have log_statement set to 'all' nothing will be logged with
+ log_line_prefix.
Parallel processing
To enable parallel processing you just have to use the -j N option where
View
9 doc/pgBadger.pod
@@ -190,8 +190,9 @@ You must first enable SQL query logging to have something to parse:
log_min_duration_statement = 0
Here every statement will be logged, on busy server you may want to increase
-this value to only log queries with a higher duration time. See next chapter for
-more information.
+this value to only log queries with a higher duration time. Note that if you
+have log_statement set to 'all' nothing will be logged with log_line_prefix.
+See next chapter for more information.
With 'stderr' log format, log_line_prefix must be at least:
@@ -241,7 +242,9 @@ common request report you can either choose to set log_min_duration_statement
to a higher value or choose to enable log_statement.
Enabling log_min_duration_statement will add reports about slowest queries and
-queries that took up the most time.
+queries that took up the most time. Take care that if you have log_statement
+set to 'all' nothing will be logged with log_line_prefix.
+
=head1 Parallel processing
Please sign in to comment.
Something went wrong with that request. Please try again.