[TIMOB-23943] Android module build doesn't use proper logging
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-09-22T23:54:51.000+0000 |
Affected Version/s | Release 5.5.0 |
Fix Version/s | Release 6.0.0 |
Components | Android, Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2016-09-22T21:36:43.000+0000 |
Updated | 2016-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
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
PR merged.
[~fmiao][~cbarber] some indication on how to verify or test this will be welcomed for QE. Thanks.
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.[~cbarber], I don't see
debug
logging likethis.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[~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.
[~cbarber], I have it set to
trace
in studio. Will open a ticket for studio.