[
https://issues.apache.org/jira/browse/CB-8936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700061#comment-14700061
]
ASF GitHub Bot commented on CB-8936:
------------------------------------
Github user nikhilkh commented on a diff in the pull request:
https://github.com/apache/cordova-medic/pull/59#discussion_r37225154
--- Diff: medic/medic-run.js ---
@@ -238,6 +241,16 @@ function windowsSpecificPreparation(argv) {
);
}
+ // start logging
+ var logScriptPath = path.join(platformPath, 'cordova', 'log');
+ if (fs.existsSync(logScriptPath)) {
+ logProcess = cp.fork(logScriptPath, [], { silent: true });
+
+ logProcess.stdout.on('data', function (data) {
--- End diff --
Should we listen for error and log a message with the error?
> Surface platform-specific logs in buildbot
> ------------------------------------------
>
> Key: CB-8936
> URL: https://issues.apache.org/jira/browse/CB-8936
> Project: Apache Cordova
> Issue Type: Task
> Components: Medic
> Reporter: Alexander Sorokin
> Assignee: Alexander Sorokin
>
> Platform specific logs (e.g. logcat for android, stderr.log and stdin.log for
> iOS etc.) should be gathered and displayed in buildbot.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]