Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12436] CLI: Log output should be padded so that output is aligned

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-01-30T19:03:59.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02
ComponentsCLI
Labelsqe-port, qe-testadded
ReporterChris Barber
AssigneeChris Barber
Created2013-01-26T01:07:56.000+0000
Updated2013-09-30T11:09:05.000+0000

Description

When we output, text is only a single space apart from the label:
[INFO] hello
[DEBUG] world
And when we output JSON data, we really want it to line up.

Comments

  1. Chris Barber 2013-01-26

    titanium master pull request: https://github.com/appcelerator/titanium/pull/28
  2. Shyam Bhadauria 2013-01-30

    This is working fine for iOS but not for android. For android still padding is not working. Environment used for verification - Titanium SDK: 3.1.0.v20130129154205 Titanium SDK: 3.0.2.v20130129171611 Titanium  Studio:3.0.2.201301251115 CLI version - 3.0.24 For android, below is the sample log with above builds- [INFO] Installing application on emulator [DEBUG] "/Volumes/Macintosh HD/Users/shyam.bhadauria/Docu
  3. Chris Barber 2013-01-30

    Android does not use the CLI console logging mechanism, so the padding is not supported on Android. If Android used the logging mechanism, it would be padded. So, marking this as fixed since this bug relates to the CLI logger, not the old logger used by Android.
  4. Shyam Bhadauria 2013-01-31

    Environment used for verification - Titanium SDK: 3.1.0.v20130129154205 Titanium SDK: 3.0.2.v20130129171611 Titanium  Studio:3.0.2.201301251115

JSON Source