Skip to content
Snippets Groups Projects
Commit 21bdf159 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

remove success message to ave less verbose output

parent 0dc14b63
No related branches found
No related tags found
No related merge requests found
......@@ -119,8 +119,6 @@ def test_vhost(
ip_warning = None
else:
u.warning(ip_warning)
else:
u.success("domain: resolve to 127.0.0.1")
# test url
req_error = False
try:
......@@ -145,8 +143,6 @@ def test_vhost(
if req_time > 10000:
u.warning(f"status: {code}, {req_time}ms")
warnings += 1
else:
u.success(f"status: {code}, {req_time}ms")
if "mediaserver" in name and wowza_dir:
# test /streaming url
try:
......@@ -168,8 +164,6 @@ def test_vhost(
elif req_time > 10000:
u.warning(f"streaming: {code}, {req_time}ms")
warnings += 1
else:
u.success(f"streaming: {code}, {req_time}ms")
tested += 1
if ip_warning:
......@@ -177,6 +171,7 @@ def test_vhost(
if ip_error or req_error:
errors += 1
return tested, warnings, errors
......@@ -191,10 +186,7 @@ def main():
# check that Wowza is installed
wowza_dir = "/usr/local/WowzaStreamingEngine"
if not Path(wowza_dir).exists():
u.info(f"wowza is not installed ('wowza_dir' does not exist).")
wowza_dir = None
else:
u.info("wowza is installed, /streaming/ will be tested on mediaserver vhosts.")
# get envsetup conf
conf = u.load_conf()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment