-
-
Notifications
You must be signed in to change notification settings - Fork 765
Closed
Labels
Description
Description
i use the code
File folder = new File("log");
folder.mkdir();
File logFile = new File(folder, UDID +System.currentTimeMillis()+ ".log");
localService = AppiumDriverLocalService.buildService(new AppiumServiceBuilder()
.withLogFile(logFile)
and i found the logFile in the workspace ~/log/xxx.log
my question is :
why the Eclipse Conlsole shows it again? like follows
[RemoteTestNG] detected TestNG version 6.11.0
2017-11-15 10:32:12:981 - [Appium] Welcome to Appium v1.7.1
2017-11-15 10:32:12:984 - [Appium] Non-default server args:
2017-11-15 10:32:12:984 - [Appium] address: 127.0.0.1
2017-11-15 10:32:12:985 - [Appium] sessionOverride: true
2017-11-15 10:32:12:985 - [Appium] log: D:\workspace\EclipseStation\Appium\log\LE67A063101439501510741928005.log
2017-11-15 10:32:12:985 - [Appium] logTimestamp: true
2017-11-15 10:32:12:985 - [Appium] defaultCapabilities: {
2017-11-15 10:32:12:986 - [Appium] udid: LE67A06310143950
2017-11-15 10:32:12:986 - [Appium] }
2017-11-15 10:32:12:987 - [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
2017-11-15 10:32:12:989 - [Appium] udid: 'LE67A06310143950'
2017-11-15 10:32:13:043 - [Appium] Appium REST http interface listener started on 127.0.0.1:4723
2017-11-15 10:32:13:540 - [HTTP] --> GET /wd/hub/status {}
2017-11-15 10:32:13:543 - [debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
2017-11-15 10:32:13:587 - [debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.1","revision":null}}
[2017-11-15 18:32:13] [INFO] AppiumServer is started with 127.0.0.1 4723 LE67A06310143950
2017-11-15 10:32:13:593 - [HTTP] <-- GET /wd/hub/status 200 49 ms - 83
Environment
- java client build version or git revision if you use some shapshot: 5.0.4
- Appium server version or git revision if you use some shapshot: 1.7.1
- Desktop OS/version used to run Appium if necessary:
- Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe: 6.11.0
- Mobile platform/version under test: Android
- Real device or emulator/simulator: real device
Details
if u needs more