From 2dcf13cda3671e0f9df6b6bca7f5347460f53191 Mon Sep 17 00:00:00 2001 From: Kofi B Date: Tue, 24 Mar 2020 18:00:03 -0700 Subject: [PATCH] Update to clarify exclude only works for filenames --- docs/user/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/usage.rst b/docs/user/usage.rst index a56efdf8..86792ed6 100644 --- a/docs/user/usage.rst +++ b/docs/user/usage.rst @@ -224,7 +224,7 @@ Read config from config.ini and put to stdout:: tags: tag1,tag2 add_field: fieldname1,fieldvalue1[,fieldname2,fieldvalue2, ...] - ; follow all logs in /var/log except those with `messages` or `secure` in the name. + ; follow all logs in /var/log except those with `messages` or `secure` in the name *of the file*. Currently it is not possible to exclude certain lines of a file. ; The exclude tag must be a valid python regular expression. [/var/log/*log] type: syslog