Permalink
Browse files

Add README to tailnmail filters

  • Loading branch information...
1 parent 14ac406 commit 4e360548add0375d82fce9a086b0db111df6e340 @keithf4 keithf4 committed Dec 6, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 tools/tailnmail/README
View
@@ -0,0 +1,5 @@
+These files can be used with the INHERIT option of tail_n_mail in the main configuration file to exclude items which may not be of quite as much importance to a Postgresql admin.
+
+tnm8.cfg contains filters for use with Postgresql 8.x and earlier.
+
+tnm9.cfg takes advantage of the %e parameter added in 9.x to add the error codes to postgres log lines. Just make sure the %e is the last item in the log_line_prefix defined in postgresql.conf and set the .tailnmailrc file (where you tell tail_n_mail your log_line_prefix pattern) to NOT include the %e as part of the pattern so it can be matched against.

0 comments on commit 4e36054

Please sign in to comment.