Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14882] CLI: ti build for log level option not working properly

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-10-19T01:38:11.000+0000
Affected Version/sRelease 3.1.2
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsCLI
Labelsandroidbuild, qe-3.1.2, qe-closed-3.2.0
ReporterPriya Agarwal
AssigneeChris Barber
Created2013-08-14T13:06:16.000+0000
Updated2013-11-11T21:39:54.000+0000

Description

ti build for option log level not working properly. If command run as ti build --log-level warn. Expected Result: The project should be built successfully and logging level should show [WARN] if any warnings occur. Actual Result: It shows all the logs(info,debug,warn etc).

Comments

  1. Chris Barber 2013-08-20

    I was unable to reproduce this using the latest 3.2 code. It's possible this was a valid issue at some point and may have been fixed with the CLI refactor.
  2. Federico Casali 2013-08-30

    Issue is reproducible if building for android: ti build -p android --log-level warn In this case all log levels are shown. If building for iOS (ti build -p ios --log-level warn) only the 'warn' log level are shown. Behavior reproduced both using CLI 3.1.2.GA and 3.2.0 from master branch: Titanium SDK 3.1.3.v20130829174830 Alloy 1.2.1.GA Appcelerator Studio 3.1.3.201308252005 CLI 3.1.2.GA and 3.2.0 Node 0.10.13
  3. Allen Yeung 2013-10-19

    PR: https://github.com/appcelerator/titanium_mobile/pull/4781
  4. Olga Romero 2013-11-11

    CLI 3.2.0 (git://github.com/appcelerator/titanium.git) Alloy 1.3.0 Titanium SDK 3.2.0.v20131110134044
       -- Start application log -----------------------------------------------------
       [WARN]  linker: libstlport_shared.so has text relocations. This is wasting memory and is a security risk. Please fix.
       [WARN]  linker: libkroll-v8.so has text relocations. This is wasting memory and is a security risk. Please fix.
       [WARN]  V8Object: Runtime disposed, cannot set property 'userAgent'
       [WARN]  linker: libtiverify.so has text relocations. This is wasting memory and is a security risk. Please fix.
       

JSON Source