From 77048ac64ce1104a23bc121e6b9df1495958ffb1 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 16 Nov 2019 18:04:51 +0300 Subject: [PATCH] Feat(logcheck): Add `local-no-tty` Ignore warnings from TUI programs like `links2` or `vim`. --- playbooks/roles/logcheck/files/ignore.d/local-no-tty | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 playbooks/roles/logcheck/files/ignore.d/local-no-tty diff --git a/playbooks/roles/logcheck/files/ignore.d/local-no-tty b/playbooks/roles/logcheck/files/ignore.d/local-no-tty new file mode 100644 index 0000000..9cbaccb --- /dev/null +++ b/playbooks/roles/logcheck/files/ignore.d/local-no-tty @@ -0,0 +1,5 @@ +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (links2|vim): Oh, oh, it's an error! possibly I die! +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (links2|vim): Warning: closing connection +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (links2|vim): \*\*\* err +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (links2|vim): \*\*\* info +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (links2|vim): checking tty name failed -- 2.39.2