{"action":"closed","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1104","repository_url":"https://api.github.com/repos/webdriverio/webdriverio","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1104/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1104/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1104/events","html_url":"https://github.com/webdriverio/webdriverio/issues/1104","id":133681068,"number":1104,"title":"Logger does not sanitize app path","user":{"login":"agauthiez","id":16840441,"avatar_url":"https://avatars.githubusercontent.com/u/16840441?v=3","gravatar_id":"","url":"https://api.github.com/users/agauthiez","html_url":"https://github.com/agauthiez","followers_url":"https://api.github.com/users/agauthiez/followers","following_url":"https://api.github.com/users/agauthiez/following{/other_user}","gists_url":"https://api.github.com/users/agauthiez/gists{/gist_id}","starred_url":"https://api.github.com/users/agauthiez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agauthiez/subscriptions","organizations_url":"https://api.github.com/users/agauthiez/orgs","repos_url":"https://api.github.com/users/agauthiez/repos","events_url":"https://api.github.com/users/agauthiez/events{/privacy}","received_events_url":"https://api.github.com/users/agauthiez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-15T10:40:37Z","updated_at":"2016-02-16T21:04:17Z","closed_at":"2016-02-16T21:04:17Z","body":"When providing the [`app` desired capability](https://wiki.saucelabs.com/display/DOCS/Test+Configuration+Options#TestConfigurationOptions-ApplicationPath), the logger fails because it tries to open a log file containing the app path:\r\n```\r\nError: ENOENT: no such file or directory, open '/.../log/google.android./my/super/long/path/to/app.apk.2016-02-15T10:30:06.742.log'\r\n```\r\nI think we have to options here: do not include the app name in file name or escape the path properly."}}