]> git.phdru.name Git - ansible.git/commitdiff
Feat(logcheck): Add `local-no-tty`
authorOleg Broytman <phd@phdru.name>
Sat, 16 Nov 2019 15:04:51 +0000 (18:04 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 18 Nov 2019 17:18:39 +0000 (20:18 +0300)
Ignore warnings from TUI programs like `links2` or `vim`.

playbooks/roles/logcheck/files/ignore.d/local-no-tty [new file with mode: 0644]

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 (file)
index 0000000..9cbaccb
--- /dev/null
@@ -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