In package.json, I have something like this:
"appium":{
"server": {
"address": "127.0.0.1",
"allow-cors": true,
"base-path": "/",
"callback-address": "127.0.0.1",
"callback-port": 4723,
"debug-log-spacing": true,
"default-capabilities": {
"key": "value"
},
"driver": {
"xcuitest": {
"key": "value"
}
},
"keep-alive-timeout": 600,
"local-timezone": true,
"log": "C:\\Users\\<username>\\projectname\\appium.log",
"log-level": "info",
"log-no-colors": false,
"log-timestamp": true,
"long-stacktrace": false,
"no-perms-check": false,
"nodeconfig": {
"key": "value"
},
Among others, my expectation was that a log file will be created in C:\Users\\projectname\appium.log and the server will always be started with the address 127.0.0.1. Instead, appium always starts with the default server 0.0.0.0 and no log file is created there.