{ "id": "136041", "key": "TIMOB-17606", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-09-03T14:03:26.000+0000", "created": "2014-09-03T09:27:51.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.4.0" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-20T21:58:06.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "Description:\r\n\r\nRunning \"ti build --log-level trace\" command shows only logging level [TRACE] if any traces occur.\r\nRunning \"ti build --log-level debug\" command shows only logging level [DEBUG] if any debug information occurs.\r\n\r\nThe same error is issue occurs with CLI 3.3.0 Titanium SDK 3.3.0.GA.\r\n\r\nSTEPS TO REPRODUCE\r\n1. Open a terminal window\r\n2. Create a project and you have to \"cd\" to this project to be able to run command \"build\"\r\n3. Run \"ti build --log-level trace\" command with platform \"iOS\".\r\n4. Run \"ti build --log-level debug\" command with platform \"iOS\".\r\n\r\nEXPECTED RESULT\r\n3. The project should be built successfully and logging level should show only [TRACE] if any traces occur.\r\n4. The project should be built successfully and logging level should show only [DEBUG] if any debug information occur.\r\n\r\nACTUAL RESULT\r\nIt shows all the logs containing (info,debug,warn etc) instead of minimizing the logs.", "attachment": [], "flagged": false, "summary": "IOS: CLI \"ti build\" command with log level option not working properly for trace and debug level.", "creator": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Tested on: \r\n1. Mac OSX 10.9.4 \r\n2. Appcelerator Studio, build: 3.4.0.201409021758\r\n3. Titanium SDK, build: 3.4.0.v20140829184521 \r\n4. Titanium CLI, build: 3.4.0-dev \r\n5. Alloy: 1.5.0-dev \r\n6. Xcode 6 beta 6", "comment": { "comments": [ { "id": "321572", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "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.\r\n\r\n[~emerriman] there may be a test case that needs updating.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-03T14:03:26.000+0000", "updated": "2014-09-03T14:03:26.000+0000" }, { "id": "321719", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Thanks [~ingo].I have noted it.\r\nThe test cases for logging level need to be updated.", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-04T04:09:07.000+0000", "updated": "2014-09-04T04:09:07.000+0000" }, { "id": "414024", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T21:58:06.000+0000", "updated": "2017-03-20T21:58:06.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }