[TIMOB-23900] ioslib: Tailing simulator log doesn't output initial contents
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-09-13T18:28:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.5.0, ioslib 0.15.3 |
Components | Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2016-09-13T17:07:27.000+0000 |
Updated | 2016-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.
ioslib@0.15.3 PR https://github.com/appcelerator/ioslib/pull/47
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
PRs merged.
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