]> granicus.if.org Git - pgbadger/commitdiff
Add a note into documentation about prefix [%l-1]. Thanks to sterfield for the sugges...
authorDarold Gilles <gilles@darold.net>
Tue, 7 Oct 2014 14:24:31 +0000 (16:24 +0200)
committerDarold Gilles <gilles@darold.net>
Tue, 7 Oct 2014 14:24:31 +0000 (16:24 +0200)
README
doc/pgBadger.pod

diff --git a/README b/README
index 71a1488bfaa5b1e16f142975dc5850fcae671a91..847b8ff45d81a17f042f04250e4243dd77353be9 100644 (file)
--- a/README
+++ b/README
@@ -381,6 +381,12 @@ POSTGRESQL CONFIGURATION
 
     but this is not only recommended by pgBadger.
 
+    Note: the session line [%l-1] is just used to match the default prefix
+    for "stderr". The -1 has no real purpose and basically is not used in
+    Pgbadger statistics / graphs. You can safely removed them from the
+    log_line_prefix but you will need to set the --prefix command line
+    option.
+
 log_min_duration_statement, log_duration and log_statement
     If you want full statistics reports you must set
     log_min_duration_statement to 0 or more milliseconds.
index 88d7ce1091ad22ff5f39dcb8735a38e765995724..cfb3dd9d7a1168ffd66d0ba8106a09b7e0dc4e64 100644 (file)
@@ -362,6 +362,11 @@ Of course your log messages should be in English without locale support:
 
 but this is not only recommended by pgBadger.
 
+Note: the session line [%l-1] is just used to match the default prefix for "stderr".
+The -1 has no real purpose and basically is not used in Pgbadger statistics / graphs.
+You can safely removed them from the log_line_prefix but you will need to set the
+--prefix command line option.
+
 =head1 log_min_duration_statement, log_duration and log_statement
 
 If you want full statistics reports you must set log_min_duration_statement