From 430d4aeaa752e7a096f6035f90352a33d7ec9a2f Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Fri, 20 Jul 2018 16:32:31 +0200 Subject: [PATCH] Be explicit about how much initial history log tailing includes Change-Type: patch --- lib/actions/logs.coffee | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/actions/logs.coffee b/lib/actions/logs.coffee index 9afd197b..ebf5c3c3 100644 --- a/lib/actions/logs.coffee +++ b/lib/actions/logs.coffee @@ -51,7 +51,7 @@ module.exports = console.log("#{timestamp} #{line.message}") if options.tail - resin.logs.subscribe(params.uuid).then (logs) -> + resin.logs.subscribe(params.uuid, { count: 100 }).then (logs) -> logs.on('line', printLine) logs.on('error', done) .catch(done) diff --git a/package.json b/package.json index 2f3ece55..444e4ea0 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,7 @@ "resin-multibuild": "^0.5.1", "resin-preload": "^6.3.0", "resin-release": "^1.2.0", - "resin-sdk": "10.0.0-beta1", + "resin-sdk": "10.0.0-beta2", "resin-sdk-preconfigured": "^6.9.0", "resin-semver": "^1.2.2", "resin-settings-client": "^3.6.1",