From: Darold Gilles Date: Thu, 21 Mar 2013 08:34:40 +0000 (+0100) Subject: Add a line about log_statement set to all in documentation. X-Git-Tag: v3.2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f22692cbb4fd392af7870884d1128ab738a82e16;p=pgbadger Add a line about log_statement set to all in documentation. --- diff --git a/README b/README index a98173b..14a96b6 100644 --- a/README +++ b/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 diff --git a/doc/pgBadger.pod b/doc/pgBadger.pod index 7dede5d..24fbcfc 100644 --- a/doc/pgBadger.pod +++ b/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