]> granicus.if.org Git - pgbadger/commitdiff
Add a line about log_statement set to all in documentation.
authorDarold Gilles <gilles@darold.net>
Thu, 21 Mar 2013 08:34:40 +0000 (09:34 +0100)
committerDarold Gilles <gilles@darold.net>
Thu, 21 Mar 2013 08:34:40 +0000 (09:34 +0100)
README
doc/pgBadger.pod

diff --git a/README b/README
index a98173b4f0b8ccfce4cd7200e9e2f1f1e208e391..14a96b67821a499b9b39721f155d03e0edfb20ba 100644 (file)
--- 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
index 7dede5dcac6c2f231a1fa881bb385d124d5bc782..24fbcfc3fd7c44f3769e541fa4c0b9019b72108b 100644 (file)
@@ -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