From: Oleg Broytman Date: Sat, 16 Nov 2019 15:04:51 +0000 (+0300) Subject: Feat(logcheck): Add `local-no-tty` X-Git-Url: https://git.phdru.name/?p=ansible.git;a=commitdiff_plain;h=77048ac64ce1104a23bc121e6b9df1495958ffb1 Feat(logcheck): Add `local-no-tty` Ignore warnings from TUI programs like `links2` or `vim`. --- 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