{ "id": "163407", "key": "TIMOB-23975", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-01-18T18:38:39.000+0000", "created": "2016-09-23T14:04:56.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" }, { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" } ], "issuelinks": [ { "id": "53953", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "163905", "key": "TIMOB-24311", "fields": { "summary": "Android: Log always shows non-titanium logs", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "52869", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "163589", "key": "AC-4522", "fields": { "summary": "Android devices are showing too many console logs and very frequently that I cannot see the output from my code generated using info, warn, debug or error method.", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T22:47:09.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Working from the command line, with {{appc run -p android -T device}}, console level logging is incredibly noisy and near-impossible to pull good info from.\r\n\r\nStarting with roughly the 5.x line of tooling, the console logs are filled with hundreds, often thousands of these lines:\r\n\r\n{{[WARN] DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView)}}\r\n\r\nOf course, it would be best to fix the underlying Android issue that's causing this warning. However, the logger should at least filter them out since it has nothing to do with my app but with the Ti framework.\r\n\r\nWith the tooling versions listed in the Environment section, routine Android system-level log messages are no longer filtered out. Thus, I now have to sift through tons of distracting log messages like the following (which is just a small sample of the multitude of system messages now output)\r\n\r\n{code}\r\n[WARN] V/TaskManager:TaskManagerRemoteService(10661): case SEND_BROADCAST_ACTIVE_APPS\r\n[WARN] I/TaskManager:PackageInfo(10661): getRunningAppPackageList()\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Hidden Pkg] - pkg:com.android.contacts\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Hidden Pkg] - pkg:com.android.systemui\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.android.bluetooth\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.dropbox.android\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.gsamlabs.bbm\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.sec.android.app.bluetoothtest\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.qualcomm.atfwd\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.facebook.katana\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.samsung.android.sdk.samsunglink\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.acmeaom.android.myradar\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.sec.android.daemonapp\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.qualcomm.embms\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.cequint.ecid\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.google.android.gms\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.sec.android.app.taskmanager\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.dsi.ant.server\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.google.android.apps.googlevoice\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.sec.imsservice\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.android.exchange\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.sec.android.app.samsungapps\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.samsung.sec.android.application.csc\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.accuweather.paid.android\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.sec.spp.push\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.sec.sve\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.samsung.android.app.memo\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.samsung.InputEventApp\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.sec.android.pagebuddynotisvc\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.samsung.android.MtpApplication\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.telecomsys.directedsms.android.SCG\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.samsung.android.fmm\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.android.server.telecom\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:org.npr.android.news\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.android.stk\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:android\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.android.providers.media\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:org.mariotaku.twidere\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.ipsec.service\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.samsung.android.providers.context\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.sec.android.app.shealth\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.asurion.android.verizon.vms\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.samsung.android.beaconmanager\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.samsung.accessory\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.vzw.hss.widgets.infozone\r\n[WARN] I/TaskManager:PackageInfo(10661): RunningApp[Service] - pkg:com.android.phone\r\n[WARN] V/TaskManager:TaskManagerRemoteService(10661): calcCPUUsage() packageName:com.acvauctions.demo usage:57.568977\r\n[WARN] V/TaskManager:TaskManagerRemoteService(10661): calcCPUUsage() packageName:com.android.chrome usage:0.0\r\n[WARN] V/TaskManager:TaskManagerRemoteService(10661): calcCPUUsage() packageName:com.google.android.apps.messaging usage:0.0\r\n[WARN] V/TaskManager:TaskManagerRemoteService(10661): calcCPUUsage() packageName:com.facebook.orca usage:0.0\r\n[WARN] V/TaskManager:TaskManagerRemoteService(10661): PrevCount : 4 , RunningCount : 4\r\n[WARN] V/TaskManager:TaskManagerRemoteService(10661): Sending new running_count : 4\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Logging outputs tons of noisy, meaningless messages (Regression)", "creator": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "environment": "Android, appc 5.5.0, titanium (cli) 5.0.8, SDK 5.5.0.GA, OS-X", "comment": { "comments": [ { "id": "397070", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "What about simulator run? Is is the same log shows in there?", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-09-23T18:46:55.000+0000", "updated": "2016-09-23T18:46:55.000+0000" }, { "id": "397074", "author": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "body": "Since I need access to the camera, push notifications, etc. for our app, I don't use the simulator for testing. So, I'm afraid I don't know.", "updateAuthor": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "created": "2016-09-23T18:58:22.000+0000", "updated": "2016-09-23T18:58:22.000+0000" }, { "id": "397847", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This seems to happen since Titanium SDK 5.4.0 like stated in AC-4522. It's likely caused by TIMOB-23975. [~cwilliams] you may have more context here.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-02T15:02:54.000+0000", "updated": "2016-10-02T15:22:06.000+0000" }, { "id": "403017", "author": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "body": "I finally have had the chance to work on updating our app to Ti 6.0 (Appc CLI, plus SDK). The logs are just as noisy as they were with 5.x. But worse, you no longer tag each app-related log message with TiAPI so tricks like {{adb logcat | grep TiAPI}} no longer work. You don't even output the process ID for use in filtering like that. I suppose you're doing something to make Studio work but I'm afraid I don't use it. Maybe you could share your tricks?", "updateAuthor": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "created": "2016-12-08T20:43:25.000+0000", "updated": "2016-12-08T20:43:25.000+0000" }, { "id": "404801", "author": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "body": "Logging is greatly improved in SDK 6.1.0.v20170118081704. Thanks!\r\n\r\nI still see some (what I think are) non-app messages in the log. The volume of these is not all that bad. So, it wouldn't be terrible if they couldn't be suppressed. For the record, I'm seeing:\r\n\r\n{code}\r\n[INFO] art: Background sticky concurrent mark sweep GC freed 85617(6MB) AllocSpace objects, 48(1260KB) LOS objects, 20%% free, 32MB/40MB, paused 791us total 251.101ms\r\n[INFO] I/System.out: (HTTPLog)-Static: isSBSettingEnabled false\r\n[INFO] Timeline: Timeline: Activity_idle id: android.os.BinderProxy@eec341f time:69011706\r\n[INFO] I/InputDispatcher( 807): Delivering touch to : action: 0x0, toolType: 1\r\n[INFO] I/InputDispatcher( 807): Delivering touch to : action: 0x1, toolType: 1\r\n[INFO] APSAnalyticsService: Analytics Service Started\r\n[INFO] APSAnalyticsService: Stopping Analytics Service\r\n[WARN] IInputConnectionWrapper: getExtractedText on inactive InputConnection\r\n[WARN] IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection\r\n[WARN] IInputConnectionWrapper: getSelectedText on inactive InputConnection\r\n[WARN] IInputConnectionWrapper: getTextAfterCursor on inactive InputConnection\r\n{code}\r\n\r\nThis following message is repeated frequently (dozens of times per minute)\r\n\r\n{code}\r\n[INFO] I/System.out: (HTTPLog)-Static: isSBSettingEnabled false\r\n{code}\r\n", "updateAuthor": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "created": "2017-01-18T18:34:37.000+0000", "updated": "2017-01-18T18:34:37.000+0000" }, { "id": "404804", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving as {{Duplicate}} of TIMOB-24311, thanks Tim for checking!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-18T18:38:39.000+0000", "updated": "2017-01-18T18:38:39.000+0000" }, { "id": "404805", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "As a follow-up for the outstanding logs observed by Tim, this seems to be a common Android thing ([Link|http://stackoverflow.com/questions/30360823/how-do-i-fix-whatever-is-causing-this-to-flood-my-logcat-i-system-out-httplog]), so we may add those parts to the regex as well to mute them. [~michael] since you did the last fix, is this something you could think of?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-18T18:41:40.000+0000", "updated": "2017-01-18T18:41:40.000+0000" }, { "id": "404806", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Already testing :)", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-18T18:43:00.000+0000", "updated": "2017-01-18T18:43:00.000+0000" }, { "id": "415500", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:47:09.000+0000", "updated": "2017-03-23T22:47:09.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }