Hope you mean this type of log:
This is with your recommended changes applied.
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001AAB8077588>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (2): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001AAB8087E08>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (3): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001AAB80AF688>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (4): 127.0.0.1:4723
DEBUG:urllib3.connectionpool:Starting new HTTP connection (5): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001AAB80B2388>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (6): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001AAB80B29C8>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (7): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001AAB80B5148>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (8): 127.0.0.1:4723
DEBUG:urllib3.connectionpool:Starting new HTTP connection (9): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001AAB80B5A48>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (10): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001AAB80BA0C8>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (11): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001AAB80BA808>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (12): 127.0.0.1:4723
DEBUG:urllib3.connectionpool:Starting new HTTP connection (13): 127.0.0.1:4723
DEBUG:urllib3.connectionpool:http://127.0.0.1:4723 "HEAD /status HTTP/1.1" 200 0
DEBUG:selenium.webdriver.remote.remote_connection:POST http://127.0.0.1:4723/session {"capabilities": {"firstMatch": [{}], "alwaysMatch": {"appium:automationName": "UiAutomator2", "platformName": "Android", "appium:deviceName": "Lenovo", "appium:unlockType": "pin", "appium:unlockKey": "123456", "appium:app": "C:\\Users\\KarelVrabka\\Diavaso\\apps\\23.1.1\\Config-release.apk", "appium:udid": "HA11RZB8", "appium:appWaitActivity": "com.sensus.config.AppLauncher.*", "appium:newCommandTimeout": "500"}}}
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:4723
DEBUG:urllib3.connectionpool:http://127.0.0.1:4723 "POST /session HTTP/1.1" 500 0
DEBUG:selenium.webdriver.remote.remote_connection:Remote response: status=500 | data={"value":{"error":"unknown error","message":"An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.sensus.config' application. Consider checking the driver's troubleshooting documentation. Original error: Error executing adbExec. Original error: 'Command 'C:\\\\Users\\\\KarelVrabka\\\\AppData\\\\Local\\\\Android\\\\Sdk\\\\platform-tools\\\\adb.exe -P 5037 -s HA11RZB8 shell am start -W -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' exited with code 1'; Command output: Error: Intent matches multiple activities; can't stop: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 }\r\n","stacktrace":"UnknownError: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.sensus.config' application. Consider checking the driver's troubleshooting documentation. Original error: Error executing adbExec. Original error: 'Command 'C:\\\\Users\\\\KarelVrabka\\\\AppData\\\\Local\\\\Android\\\\Sdk\\\\platform-tools\\\\adb.exe -P 5037 -s HA11RZB8 shell am start -W -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' exited with code 1'; Command output: Error: Intent matches multiple activities; can't stop: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 }\r\n\n at getResponseForW3CError (C:\\Users\\KarelVrabka\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\@appium\\base-driver\\lib\\protocol\\errors.js:1073:9)\n at asyncHandler (C:\\Users\\KarelVrabka\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\@appium\\base-driver\\lib\\protocol\\protocol.js:491:57)"}} | headers=HTTPHeaderDict({'X-Powered-By': 'Express', 'Vary': 'X-HTTP-Method-Override', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '1750', 'ETag': 'W/"6d6-V1qfsmclhqynr5Ev2OvoDpYrrM4"', 'Date': 'Tue, 18 Jul 2023 08:00:45 GMT', 'Connection': 'keep-alive', 'Keep-Alive': 'timeout=600'})
DEBUG:selenium.webdriver.remote.remote_connection:Finished Request
This is with previous caps:
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000002106F593F88>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (2): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000002106F67EE48>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (3): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000002106F6AE6C8>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (4): 127.0.0.1:4723
DEBUG:urllib3.connectionpool:Starting new HTTP connection (5): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000002106F6B13C8>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (6): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000002106F6B1A08>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (7): 127.0.0.1:4723
DEBUG:urllib3.util.retry:Incremented Retry for (url='/status'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000002106F6B6188>, 'Connection to 127.0.0.1 timed out. (connect timeout=1.0)')': /status
DEBUG:urllib3.connectionpool:Starting new HTTP connection (8): 127.0.0.1:4723
DEBUG:urllib3.connectionpool:Starting new HTTP connection (9): 127.0.0.1:4723
DEBUG:urllib3.connectionpool:http://127.0.0.1:4723 "HEAD /status HTTP/1.1" 200 0
DEBUG:selenium.webdriver.remote.remote_connection:POST http://127.0.0.1:4723/session {"capabilities": {"firstMatch": [{}], "alwaysMatch": {"appium:automationName": "UiAutomator2", "platformName": "Android", "appium:deviceName": "Lenovo", "appium:unlockType": "pin", "appium:unlockKey": "123456", "appium:app": "C:\\Users\\KarelVrabka\\Diavaso\\apps\\23.1.1\\Config-release.apk", "appium:appPackage": "com.sensus.config", "appium:appActivity": "com.sensus.config.AppLauncher", "appium:udid": "HA11RZB8", "appium:newCommandTimeout": "500"}}}
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:4723
DEBUG:urllib3.connectionpool:http://127.0.0.1:4723 "POST /session HTTP/1.1" 200 0
DEBUG:selenium.webdriver.remote.remote_connection:Remote response: status=200 | data={"value":{"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","deviceName":"Lenovo","unlockType":"pin","unlockKey":"123456","app":"C:\\Users\\KarelVrabka\\Diavaso\\apps\\23.1.1\\Config-release.apk","appPackage":"com.sensus.config","appActivity":"com.sensus.config.AppLauncher","udid":"HA11RZB8","newCommandTimeout":500},"platformName":"Android","automationName":"UiAutomator2","deviceName":"HA11RZB8","unlockType":"pin","unlockKey":"123456","app":"C:\\Users\\KarelVrabka\\Diavaso\\apps\\23.1.1\\Config-release.apk","appPackage":"com.sensus.config","appActivity":"com.sensus.config.AppLauncher","udid":"HA11RZB8","newCommandTimeout":500,"deviceUDID":"HA11RZB8","deviceApiLevel":29,"platformVersion":"10","deviceScreenSize":"800x1280","deviceScreenDensity":240,"deviceModel":"Lenovo TB-8505F","deviceManufacturer":"LENOVO","pixelRatio":1.5,"statBarHeight":36,"viewportRect":{"left":0,"top":36,"width":800,"height":1220}},"sessionId":"e90b47a9-60bf-4723-bce3-3dff2f8e057d"}} | headers=HTTPHeaderDict({'X-Powered-By': 'Express', 'Vary': 'X-HTTP-Method-Override', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '1197', 'ETag': 'W/"4ad-Ve58i/Ju8mkDd6Iv/Rdc7uPFLxA"', 'Date': 'Tue, 18 Jul 2023 08:04:03 GMT', 'Connection': 'keep-alive', 'Keep-Alive': 'timeout=600'})
DEBUG:selenium.webdriver.remote.remote_connection:Finished Request
DEBUG:selenium.webdriver.remote.remote_connection:POST http://127.0.0.1:4723/session/e90b47a9-60bf-4723-bce3-3dff2f8e057d/timeouts {"implicit": 2000}
DEBUG:urllib3.connectionpool:http://127.0.0.1:4723 "POST /session/e90b47a9-60bf-4723-bce3-3dff2f8e057d/timeouts HTTP/1.1" 200 0
DEBUG:selenium.webdriver.remote.remote_connection:Remote response: status=200 | data={"value":null} | headers=HTTPHeaderDict({'X-Powered-By': 'Express', 'Vary': 'X-HTTP-Method-Override', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '14', 'ETag': 'W/"e-9/1BuKMgFObM1mWJm+YjxtXJnUM"', 'Date': 'Tue, 18 Jul 2023 08:04:03 GMT', 'Connection': 'keep-alive', 'Keep-Alive': 'timeout=600'})
DEBUG:selenium.webdriver.remote.remote_connection:Finished Request
DEBUG:selenium.webdriver.remote.remote_connection:POST http://127.0.0.1:4723/session/e90b47a9-60bf-4723-bce3-3dff2f8e057d/execute/sync {"script": "mobile: isAppInstalled", "args": [{"bundleId": "com.sensus.config", "appId": "com.sensus.config"}]}
DEBUG:urllib3.connectionpool:http://127.0.0.1:4723 "POST /session/e90b47a9-60bf-4723-bce3-3dff2f8e057d/execute/sync HTTP/1.1" 200 0
DEBUG:selenium.webdriver.remote.remote_connection:Remote response: status=200 | data={"value":true} | headers=HTTPHeaderDict({'X-Powered-By': 'Express', 'Vary': 'X-HTTP-Method-Override', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '14', 'ETag': 'W/"e-2ZHvAWebNQpyjGZTg6uyV8/spTo"', 'Date': 'Tue, 18 Jul 2023 08:04:03 GMT', 'Connection': 'keep-alive', 'Keep-Alive': 'timeout=600'})
DEBUG:selenium.webdriver.remote.remote_connection:Finished Request
DEBUG:selenium.webdriver.remote.remote_connection:POST http://127.0.0.1:4723/session/e90b47a9-60bf-4723-bce3-3dff2f8e057d/execute/sync {"script": "mobile: getCurrentActivity", "args": []}
DEBUG:urllib3.connectionpool:http://127.0.0.1:4723 "POST /session/e90b47a9-60bf-4723-bce3-3dff2f8e057d/execute/sync HTTP/1.1" 200 0
DEBUG:selenium.webdriver.remote.remote_connection:Remote response: status=200 | data={"value":".AppLauncher"} | headers=HTTPHeaderDict({'X-Powered-By': 'Express', 'Vary': 'X-HTTP-Method-Override', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '24', 'ETag': 'W/"18-Y77i2/cTy8aG2pZ6p6caNfTZpmY"', 'Date': 'Tue, 18 Jul 2023 08:04:03 GMT', 'Connection': 'keep-alive', 'Keep-Alive': 'timeout=600'})
DEBUG:selenium.webdriver.remote.remote_connection:Finished Request
DEBUG:selenium.webdriver.remote.remote_connection:POST http://127.0.0.1:4723/session/e90b47a9-60bf-4723-bce3-3dff2f8e057d/execute/sync {"script": "mobile: activateApp", "args": [{"appId": "com.sensus.config", "bundleId": "com.sensus.config"}]}
DEBUG:urllib3.connectionpool:http://127.0.0.1:4723 "POST /session/e90b47a9-60bf-4723-bce3-3dff2f8e057d/execute/sync HTTP/1.1" 500 0
DEBUG:selenium.webdriver.remote.remote_connection:Remote response: status=500 | data={"value":{"error":"unknown error","message":"An unknown server-side error occurred while processing the command. Original error: Unable to resolve the launchable activity of 'com.sensus.config'. Original error: No activity found","stacktrace":"UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to resolve the launchable activity of 'com.sensus.config'. Original error: No activity found\n at getResponseForW3CError (C:\\Users\\KarelVrabka\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\@appium\\base-driver\\lib\\protocol\\errors.js:1073:9)\n at asyncHandler (C:\\Users\\KarelVrabka\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\@appium\\base-driver\\lib\\protocol\\protocol.js:491:57)"}} | headers=HTTPHeaderDict({'X-Powered-By': 'Express', 'Vary': 'X-HTTP-Method-Override', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '776', 'ETag': 'W/"308-kzTzx+jpsWk0vl9Ydp/+676ctmw"', 'Date': 'Tue, 18 Jul 2023 08:04:03 GMT', 'Connection': 'keep-alive', 'Keep-Alive': 'timeout=600'})
DEBUG:selenium.webdriver.remote.remote_connection:Finished Request