From: Darold Gilles Date: Tue, 7 Oct 2014 14:24:31 +0000 (+0200) Subject: Add a note into documentation about prefix [%l-1]. Thanks to sterfield for the sugges... X-Git-Tag: v6.2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6a59c39a7178d06b7f0f19b18906c76a4be8ec6;p=pgbadger Add a note into documentation about prefix [%l-1]. Thanks to sterfield for the suggestion. --- diff --git a/README b/README index 71a1488..847b8ff 100644 --- 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. diff --git a/doc/pgBadger.pod b/doc/pgBadger.pod index 88d7ce1..cfb3dd9 100644 --- a/doc/pgBadger.pod +++ b/doc/pgBadger.pod @@ -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