mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
logs: Ignore boring java warning
This commit is contained in:
parent
830d7b47e0
commit
c0337bf1ef
1 changed files with 2 additions and 0 deletions
|
@ -377,6 +377,8 @@ def hook_exec(
|
||||||
r"pg_ctlcluster \d\d main start",
|
r"pg_ctlcluster \d\d main start",
|
||||||
r"Ver\s*Cluster\s*Port\s*Status\s*Owner\s*Data\s*directory",
|
r"Ver\s*Cluster\s*Port\s*Status\s*Owner\s*Data\s*directory",
|
||||||
r"/var/lib/postgresql/\d\d/main /var/log/postgresql/postgresql-\d\d-main.log",
|
r"/var/lib/postgresql/\d\d/main /var/log/postgresql/postgresql-\d\d-main.log",
|
||||||
|
# Java boring messages
|
||||||
|
r"cannot open '/etc/ssl/certs/java/cacerts'",
|
||||||
]
|
]
|
||||||
return all(not re.search(w, msg) for w in irrelevant_warnings)
|
return all(not re.search(w, msg) for w in irrelevant_warnings)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue