Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23943] Android module build doesn't use proper logging

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2016-09-22T23:54:51.000+0000
Affected Version/sRelease 5.5.0
Fix Version/sRelease 6.0.0
ComponentsAndroid, Tooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2016-09-22T21:36:43.000+0000
Updated2016-09-23T22:16:02.000+0000

Description

There are a number of log output lines that do not have a log level tag. Also, there is no output of which subprocesses are being spawned.

Attachments

FileDateSize
module_logs.txt2016-09-23T21:50:50.000+000019674
studio_logs.txt2016-09-23T21:53:53.000+000019511

Comments

  1. Chris Barber 2016-09-22

    Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8424 Ti SDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8425
  2. Feon Sua Xin Miao 2016-09-22

    PR merged.
  3. Chee Kiat Ng 2016-09-23

    [~fmiao][~cbarber] some indication on how to verify or test this will be welcomed for QE. Thanks.
  4. Chris Barber 2016-09-23

    To test, build an Android module and observe that it now outputs the log level tag as well as the ndk-build commands being run.
  5. Lokesh Choudhary 2016-09-23

    [~cbarber], I don't see debug logging like this.logger.debug(__('Running: %s', (this.androidInfo.ndk.executables.ndkbuild + ' ' + args.join(' ')).cyan)); in studio. I see it in CLI. Is this an issue ? Check out my whole log attached. Reopening as of now. Environment: Appc Studio : 4.8.0.201609191928 Ti SDK : 6.0.0.v20160923122318 Ti CLI : 5.0.9 Alloy : 1.9.1 MAC El Capitan : 10.11.6 Appc NPM : 4.2.8-7 Appc CLI : 6.0.0-48 Node: 4.4.4 Nexus 6 - Android 6.0.1
  6. Chris Barber 2016-09-23

    [~lchoudhary] There's no debug log output in your studio_logs.txt file. You need to set the log level in Studio to trace. If you have done that and it still suppresses debug output, then it's a Studio bug.
  7. Lokesh Choudhary 2016-09-23

    [~cbarber], I have it set to trace in studio. Will open a ticket for studio.
  8. Lokesh Choudhary 2016-09-23

JSON Source