From: Julien Tachoires Date: Wed, 13 Jun 2018 13:32:02 +0000 (+0200) Subject: Add doc warning about log_MDS vs log_D + log_S X-Git-Tag: v10.0~18^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce5ba3331f38967ad61df6b0a76ea73891640b36;p=pgbadger Add doc warning about log_MDS vs log_D + log_S --- diff --git a/README b/README index e65afb6..26a26a7 100644 --- a/README +++ b/README @@ -499,6 +499,11 @@ log_min_duration_statement, log_duration and log_statement have log_statement set to 'all' nothing will be logged with log_line_prefix. + Warning: Do not enable both log_min_duration_statement and log_duration+ + log_statement, this will result in wrong counter values. Note that this + will also increase drastically the size of your log. + log_min_duration_statement should always be preferred. + PARALLEL PROCESSING To enable parallel processing you just have to use the -j N option where N is the number of cores you want to use. diff --git a/doc/pgBadger.pod b/doc/pgBadger.pod index 7cf09af..d862ec3 100644 --- a/doc/pgBadger.pod +++ b/doc/pgBadger.pod @@ -489,6 +489,10 @@ Enabling log_min_duration_statement will add reports about slowest 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. +Warning: Do not enable both log_min_duration_statement and log_duration+ +log_statement, this will result in wrong counter values. Note that this +will also increase drastically the size of your log. +log_min_duration_statement should always be preferred. =head1 PARALLEL PROCESSING