Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-1985

Android Emulator: run config console level ignored on subsequent deployments

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Cannot Reproduce
    • Affects Version/s: Titanium Studio 2.1.0, Titanium Studio 2.1.1, Titanium Studio 3.0.2
    • Fix Version/s: None
    • Component/s: Console
    • Environment:

      Titanium Studio: 2.1.0, 2.1.1, 3.0.2.201301021843
      OS: Mountain Lion 10.8.2, Windows 7, Ubuntu
      Titanium CLI: 3.0.22
      Titanium SDK: 3.0.1.v20121228113204

    • Story Points:
      5

      Description

      Android Emulator console log level is always set to the run config setting used to first launch the console process.

      Steps to Reproduce:

      1. Create and run an android project in the emulator with the run configuration log level set to TRACE using code:

      alert('SESSION ID: ' + Ti.App.sessionId);
      Ti.API.error('SESSION ID: ' + Ti.App.sessionId);
      Ti.API.trace('TRACE');
      Ti.API.log('TRACE', 'TRACE');
      Ti.API.debug('DEBUG');
      Ti.API.log('DEBUG', 'DEBUG');
      Ti.API.info('INFO');
      Ti.API.log('INFO', 'INFO');
      Ti.API.warn('WARN');
      Ti.API.log('WARN', 'WARN');
      Ti.API.error('ERROR');
      Ti.API.log('ERROR', 'ERROR');
      Ti.API.log('FREEFORM', 'FREEFORM');
      

      2. Edit run configuration to log level ERROR and redeploy project.

      Actual Result:

      TRACE+ levels log to console.

      Expected Result:

      ERROR level should log to console, as per the current run configuration.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgibly Shalom Gibly
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: