You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/04/13 21:28:23 UTC

[cordova-paramedic] branch janpio-xcode10.1 updated: tail logfile

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-xcode10.1
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git


The following commit(s) were added to refs/heads/janpio-xcode10.1 by this push:
     new 08e61f1  tail logfile
08e61f1 is described below

commit 08e61f1fc542db33628d2b5286aa6d7475fab935
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sat Apr 13 23:28:11 2019 +0200

    tail logfile
---
 lib/ParamedicLogCollector.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/ParamedicLogCollector.js b/lib/ParamedicLogCollector.js
index 2123c81..1fe8737 100644
--- a/lib/ParamedicLogCollector.js
+++ b/lib/ParamedicLogCollector.js
@@ -98,6 +98,8 @@ ParamedicLogCollector.prototype.generateLogs = function (logCommand) {
     } catch (ex) {
         logger.error('Cannot write the log results to the file. ' + ex);
     }
+
+    exec('tail ' + logFile);
 };
 
 ParamedicLogCollector.prototype.getLogFileName = function () {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org