Project: appceleratorstudio
Issue TISTUD-4853: Android: App log messages aren't getting filtered
Steps: 1. Enable all logging in the Console 2. Launch a project in the Android emulator Expected: App output should display messages that are formatted and can be filtered Actual: messages are displayed as follows: {code} D/AppLoads( 385): this.me is null D/CrittercismAPI( 385): POSTING JSON DATA: url = https://api.crittercism.com/android_v2/handle_app_loads	data = {"hashed_device_id":"d8d57426-3713-334c-af57-6d29e73ceb80","app_id":"51ad317a702d3139f7000027","device_name":"android","library_version":"3.0.11","app_loads":[{"type":"appload","app_state":{"orientation":1,"low_memory":0,"memory_usage":14074880,"model":"google_sdk","ts":"2013-06-04T00:35:55.55+0000","app_version_code":1,"arch":"armv5tejl","xdpi":240,"locale":"en","sd_space_free":"65965568","battery_level":0.5,"app_version":"1","wifi":{"connecting":false,"failover":false,"connected":false,"available":false},"system":"android","disk_space_total":"134217728","name":"","ydpi":240,"sd_space_total":"66052096","carrier":"Android","dpi":1.5,"mobile_network":{"roaming":false,"failover":false,"connected":true,"available":true},"activity":"gg.g.g.g.gg.GggggghhhhActivity","disk_space_free":"64585728","system_version":"2.3.4"}}]} D/CrittercismAPI( 385): POSTING JSON DATA: response = {"app_settings":{"crittercism_uuid":"d8d57426-3713-334c-af57-6d29e73ceb80","settings":{"rate_after_load_num":5,"receive_forum_post_email":1,"receive_daily_digest":0,"show_close_button":1,"is_rate_after_load":0,"remind_after_load_num":5,"timezone_offset":-7,"feedback_autovote":0,"rate_title":"Rate My App","include_stacktrace_email":1,"need_pkg":1,"receive_first_error_email":1,"throttle_votes_earned":1,"alert_submitter_only":0,"daily_max_votes":10,"rate_message":"Would you mind taking a second to rate my app? I would really appreciate it!","actions":{},"moderate_feedback":0,"default_votes":3}},"success":1,"app_id":"51ad317a702d3139f7000027","me":{"username":null}} W/TiVerify( 385): (Timer-0) [5002,5002] Verifying module licenses... D/dalvikvm( 385): GC_CONCURRENT freed 1029K, 50% free 3465K/6919K, external 1657K/3150K, paused 4ms+3ms I/TiVerify( 385): (Timer-0) [423,5425] Succesfully verified module licenses I/TiAnalyticsSvc( 385): (Thread-26) [22752,28177] Analytics Service Started D/dalvikvm( 385): GC_CONCURRENT freed 603K, 49% free 3561K/6919K, external 1657K/3150K, paused 4ms+3ms D/dalvikvm( 385): GC_CONCURRENT freed 932K, 52% free 3360K/6919K, external 1657K/3150K, paused 3ms+3ms I/TiAnalyticsSvc( 385): (Thread-26) [1655,29832] Stopping Analytics Service {code} Sample Code: {code} var win = Ti.UI.createWindow({	backgroundColor : 'blue' }); var button = Ti.UI.createButton({	title : 'click',	top : '40%',	bottom : '40%',	left : '30%',	right : '30%' }); button.addEventListener('click', function() {	console.log('console.log()');	console.log(['arg0', 'arg1', 'arg2']);	console.debug('console.debug()');	console.debug(['arg0', 'arg1', 'arg2']);	console.info('console.info()');	console.info(['arg0', 'arg1', 'arg2']);	console.warn('console.warn()');	console.warn(['arg0', 'arg1', 'arg2']);	console.error('console.error()');	console.error(['arg0', 'arg1', 'arg2']);	Ti.API.trace('Ti.API.trace()');	Ti.API.trace(['arg0', 'arg1', 'arg2']);	Ti.API.debug('Ti.API.debug()');	Ti.API.debug(['arg0', 'arg1', 'arg2']);	Ti.API.info('Ti.API.info()');	Ti.API.info(['arg0', 'arg1', 'arg2']);	Ti.API.warn('Ti.API.warn()');	Ti.API.warn(['arg0', 'arg1', 'arg2']);	Ti.API.error('Ti.API.error()');	Ti.API.error(['arg0', 'arg1', 'arg2']);	Ti.API.log('TRACE', 'Ti.API.log(TRACE)');	Ti.API.log('TRACE', ['arg0', 'arg1', 'arg2']);	Ti.API.log('DEBUG', 'Ti.API.log(DEBUG)');	Ti.API.log('DEBUG', ['arg0', 'arg1', 'arg2']);	Ti.API.log('INFO', 'Ti.API.log(INFO)');	Ti.API.log('INFO', ['arg0', 'arg1', 'arg2']);	Ti.API.log('WARN', 'Ti.API.log(WARN)');	Ti.API.log('WARN', ['arg0', 'arg1', 'arg2']);	Ti.API.log('ERROR', 'Ti.API.log(ERROR)');	Ti.API.log('ERROR', ['arg0', 'arg1', 'arg2']);	Ti.API.log('LOG', 'Ti.API.log(LOG)');	Ti.API.log('LOG', ['arg0', 'arg1', 'arg2']);	switch(Ti.Platform.osname) {	case 'ipad':	case 'iphone': {	Ti.API.timestamp('Ti.API.timestamp()');	Ti.API.timestamp(['arg0', 'arg1', 'arg2']);	}	} }); win.add(button); win.open(); {code}
Story points: 5