[TIMOB-17606] IOS: CLI "ti build" command with log level option not working properly for trace and debug level.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-09-03T14:03:26.000+0000 |
Affected Version/s | Release 3.4.0 |
Fix Version/s | n/a |
Components | CLI |
Labels | qe-3.4.0 |
Reporter | Khushbu Agrawal |
Assignee | Chris Barber |
Created | 2014-09-03T09:27:51.000+0000 |
Updated | 2017-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.
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.
Thanks [~ingo].I have noted it. The test cases for logging level need to be updated.
Closing ticket as invalid.