Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23900] ioslib: Tailing simulator log doesn't output initial contents

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-09-13T18:28:05.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.5.0, ioslib 0.15.3
ComponentsTooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2016-09-13T17:07:27.000+0000
Updated2016-09-14T20:43:41.000+0000

Description

When running a Titanium app in the simulator where the app.js writes console log output, it will not be displayed because the always-tail library isn't properly outputting from the beginning of the log file. ioslib is passing in a "fromBeginning" flag that appears to not exist, but a "start" option does. Despite "start" defaulting to zero, it doesn't take and it needs to be explicitly set.

Comments

  1. Chris Barber 2016-09-13

    ioslib@0.15.3 PR https://github.com/appcelerator/ioslib/pull/47
  2. Chris Barber 2016-09-13

    TiSDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8368 TiSDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8369 TiSDK 5_5_X PR: https://github.com/appcelerator/titanium_mobile/pull/8370
  3. Chee Kiat Ng 2016-09-13

    PRs merged.
  4. Eric Merriman 2016-09-14

    Verified fixed with: NPM Version: 2.15.1 Node Version: 4.4.3 Mac OS: 10.11.2 Appc CLI: 5.5.0 Appc CLI NPM: 4.2.7 Titanium SDK version: 5.5.0.GA Appcelerator Studio, build: 4.7.1.201609100950 Xcode 8.0 GM Using Kitchensink, verified various logging types

JSON Source