Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17606] IOS: CLI "ti build" command with log level option not working properly for trace and debug level.

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionInvalid
Resolution Date2014-09-03T14:03:26.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sn/a
ComponentsCLI
Labelsqe-3.4.0
ReporterKhushbu Agrawal
AssigneeChris Barber
Created2014-09-03T09:27:51.000+0000
Updated2017-03-20T21:58:06.000+0000

Description

Description: Running "ti build --log-level trace" command shows only logging level [TRACE] if any traces occur. Running "ti build --log-level debug" command shows only logging level [DEBUG] if any debug information occurs. The same error is issue occurs with CLI 3.3.0 Titanium SDK 3.3.0.GA. STEPS TO REPRODUCE 1. Open a terminal window 2. Create a project and you have to "cd" to this project to be able to run command "build" 3. Run "ti build --log-level trace" command with platform "iOS". 4. Run "ti build --log-level debug" command with platform "iOS". EXPECTED RESULT 3. The project should be built successfully and logging level should show only [TRACE] if any traces occur. 4. The project should be built successfully and logging level should show only [DEBUG] if any debug information occur. ACTUAL RESULT It shows all the logs containing (info,debug,warn etc) instead of minimizing the logs.

Comments

  1. Ingo Muschenetz 2014-09-03

    I believe this is a misunderstanding of the options. TRACE indicates that we want all logs TRACE level and higher. The same for DEBUG. The mixing is desired. [~emerriman] there may be a test case that needs updating.
  2. Khushbu Agrawal 2014-09-04

    Thanks [~ingo].I have noted it. The test cases for logging level need to be updated.
  3. Lee Morris 2017-03-20

    Closing ticket as invalid.

JSON Source