From 29898ba91e2e9c2a97c11e4ad8b0a4e0ebf22976 Mon Sep 17 00:00:00 2001 From: butomo1989 Date: Fri, 11 May 2018 00:43:16 +0200 Subject: [PATCH] Fixed issue #52 --- src/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index f3af9e5..5a85de7 100644 --- a/src/app.py +++ b/src/app.py @@ -105,7 +105,8 @@ def appium_run(avd_name: str): :param avd_name: Name of android virtual device / emulator """ - cmd = 'appium' + DEFAULT_LOG_PATH = '/var/log/supervisor/appium.log' + cmd = 'appium --log {log}'.format(log=os.getenv('APPIUM_LOG', DEFAULT_LOG_PATH)) default_web_browser = os.getenv('BROWSER') if default_web_browser == 'chrome':